find and solve || findandsolve.com
Please wait.....

C# String Normalize()

In 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.

Syntax

public string Normalize()  

public string Normalize(NormalizationForm)  

Parameter

First method does not take any parameter but second method takes a parameter of Normalization type.

Return

It returns normalized string.

C# String Normalize() Method Example.

using System;
public class Program
{
  public static void Main()
    {
       string str = "Hello FindAndSolve";
       string str1 = str.Normalize();
       Console.WriteLine(str1);
    }
}

Output

Hello FindAndSolve