How to concat a string to another in Windows Phone – C#?

By | March 23, 2012

Concating one string to another in C# is just like java. ie. just by adding using “+” sign.

    // Concatenate a string with another //
     string a = "SomeString";
     string b = "Second String ";
     string c = a + b;
     txt.Text = c;

Leave a Reply

Your email address will not be published. Required fields are marked *