using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MainClass {
public static void Main() {
string[] presidents = {"C", "S", "a", "H", "India", "Vinay"};
bool any = presidents.Any(s => s.StartsWith("V"));
Console.WriteLine(any);
}
}This code will show how you can apply linq any operator with string in c#.net.
