// C# Extension Method
// Doc: https://csharp-extension.com/en/method/1002216/char-iswhitespace
// @nuget: Z.ExtensionMethods
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
char [] input = {'E','n','t','i','t','y',' ','F','r','a','m','e','w','o','r','k',' ','6','.','2'};
Console.WriteLine("Is each of the following characters in a white space?");
for (int i = 0; i < input.Length; i++)
// C# Extension Method: Char - IsWhiteSpace
var result = input[i].IsWhiteSpace();
Console.WriteLine("{0} : {1} ", input[i], result);
}