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