Maha

Maha

  • NA
  • 0
  • 326.1k

NP78 IsWhiteSpace

Feb 4 2008 6:23 AM

Hi Guys

 

NP78 IsWhiteSpace

 

What is meant by IsWhiteSpace?. Why when 5 output is True and when 6 out put is False. Anyone knows please explain.

 

Thank you

 

using System;

class MyDataTypes

{

   public static int Main(string[] args)

   {

      Console.WriteLine("-> char.IsWhiteSpace('Hello There', 5): {0}",

      char.IsWhiteSpace("Hello There", 5));

 

      Console.WriteLine("-> char.IsWhiteSpace('Hello There', 6): {0}",

      char.IsWhiteSpace("Hello There", 6));

     

      return 0;

   }

}

/*

-> char.IsWhiteSpace('Hello There', 5): True

-> char.IsWhiteSpace('Hello There', 6): False

*/


Answers (6)