C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
C# String Normalize()The C# Normalize() method is used to get a new string whose textual value is same as this string, but whose binary representation is in Unicode normalization form. Signaturepublic string Normalize() public string Normalize(NormalizationForm) ParameterFirst method does not take any parameter but second method takes a parameter of Normalization type. ReturnIt returns normalized string. C# String Normalize() Method Example.using System; using System.Text; public class StringExample { public static void Main(string[] args) { string s1 = "Hello C#"; string s2 = s1.Normalize(); Console.WriteLine(s2); } } Output: Hello C#
Next TopicC# String IsNullOrEmpty()
|