How to create a DataTable in C# and how to add rows?

How to create a DataTable in C# and how to add rows?

DataTable dt = new DataTable(); 
dt.Clear();
dt.Columns.Add("Name");
dt.Columns.Add("Age");
DataRow _Name = dt.NewRow();
_Name["Name"] = "Manoj";
_Name["Age"] = "21";
dt.Rows.Add(_Name);
dt.WriteXML("_Name");

2020-03-24