string a = "One example"; Console.WriteLine("LENGTH: " + a.Length); // This code outputs 11
yourString.Length
var characters = @"abc\u0000def";