Sunday, October 28, 2007

Hi All,
Somethimes we need to find the value from Geerics list. So here is the example

public static CustomOBJ GetConfigValue(CustomOBJ Id)
{
List customOBJ= List();


CustomOBJ m_CustomOBJ= customOBJ.Find(delegate(CustomOBJ customOBJ) { return customOBJ.Any_id_ToSearch == Id; });
return m_CustomOBJ;
}


Regards
Pankaj

0 comments:

Post a Comment