length of a string c#

48

C# string length -

string a = "One example";
Console.WriteLine("LENGTH: " + a.Length);
// This code outputs 11

Comments

Submit
0 Comments