como definir o valor da célula no datagrid dinâmico no wpf usando c #

Eu tenho id de linha e id de coluna

dataGrid2.Items[row].Cells[column].Text = "text";
row = row index;
column = column index;

questionAnswers(1)

yourAnswerToTheQuestion