using System.Collections.Generic;
public string name{get;set;}
public string job{get;set;}
public static void Main()
testclass data = new testclass();
IList<testclass> someList = new List<testclass>();
tc.job = "System Adminstrator";
Console.Write(someList.Count);
var fullList = (from item in someList
where item.name == data.name
Console.Write(","+fullList.Count);