I want to know what is the c in the below source code . can you explain me what is it doing ???
private void txtFamilytoSearch_TextChanged(object sender, EventArgs e)
{
var db = new LINQDataContext();
if (txtFamilytoSearch.Text == "")
gvTable.DataSource = db.MyTables;
else
gvTable.DataSource = db.MyTables.Where(c => c.Family.Substring(0, txtFamilytoSearch.Text.Length) == txtFamilytoSearch.Text).Select(c => c);
}
this is some part of C# code in linq tecnology.
thank you ;-)