Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// 1)
GetIndexer(this List<Form> list)
{
var ifi = new List<IFormIndexer>();
foreach (var item in list)
ifi.Add(item as IFormIndexer);
}
// or 2)
GetIndexer(this List<Form> list)
{
var ifi = list as List<IFormIndexer>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment