Created
June 16, 2014 00:36
-
-
Save phrohdoh/4c1b62597011a2838187 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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