I am little confused whether a string datatype is reference type or a value type in C#. On googling, I found that string is a reference type but it behaves as a value type. Any simple example code to get me through this. Thanks