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