Share anonymous types between functions (blogs.msdn.com)
submitted by
Lord(3732) 3 years, 4 months ago
The first step is to create a seemingly innocent method:
public static T CastByExample<T>(this object o, T example)
{
return (T) o;
}
Seems innocent enough right?
|category: C#
|Views: 16
tags:
C# another
Everyones tags:
Your Tags: