length of a string c#

45

C# string length -

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

Comments

Submit
0 Comments