declare datetime c# code example
Example 1: how to declare a string c#
string MyString = "Your string in here";
Example 2: instantiate date time variable C#
DateTime dtDate = new DateTime(2020,1,1);
string MyString = "Your string in here";
DateTime dtDate = new DateTime(2020,1,1);