Func<T> based generic initializers(subjunctive.wordpress.com)
submitted by
bdsutton(525) 3 years, 5 months ago
Here is some work I've been doing to simplify initializing List<T> using Func<T>. You can build a simple method and then instead of building a loop to initialize your object you can use a one line initialization statement. read more...
|category: C#
|Views: 27
tags:
Func Generics C# another
Everyones tags:
Your Tags: