c# declare string code example Example: how to declare a string c# string MyString = "Your string in here";