String Isnormalized()

The IsNormalized function in C# is employed to verify if the string conforms to Unicode normalization standards. It provides a boolean outcome.

Signature

Example

public bool IsNormalized()
public bool IsNormalized(NormalizationForm)

Parameters

It does not take any parameter.

Return

It returns boolean.

C# String IsNormalized Method Example

Example

using System; 
using System.Text;
		
    public class StringExample  
    {  
        public static void Main(string[] args)  
        {  
          string s1 = "Hello C#";
           bool b1 = s1.IsNormalized();
           Console.WriteLine(s1);
           Console.WriteLine(b1);
        }  
    }

Output:

Output

Hello C#
True

Input Required

This code uses input(). Please provide values below: