Party for one
Inspired by Jimmy Bogard’s More missing LINQ operators i found another one
public static IEnumerable<T> MakeEnumerable<T>(this T element)
{
yield return element;
}
Passionate geek, interested in Technology. Proud father of two
Inspired by Jimmy Bogard’s More missing LINQ operators i found another one
public static IEnumerable<T> MakeEnumerable<T>(this T element)
{
yield return element;
}