What will be the output of the below code segment?

class Program
{
static void Main(string[] args)
{
Console.Write(string.Join(" ", "hello/3165/world".ToCharArray().Where(Char.IsLetter)));
Console.ReadKey(true);
}
}

 Posted by Rajnilari2015 on 10/24/2015 | Category: C# Interview questions | Views: 674 | Points: 40
Select from following answers:
  1. h e l l o w o r l d
  2. helloworld
  3. hello3165world
  4. h e l l o 3 1 6 5 w o r l d
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response