What is the difference between new Object() and new Object{} in Expressions in C# – stackoverflow.com

I have the following code snippet: Expression<Func<TSource, TDest>> expression = model => new TDest{}; // result: {model => new TestModel(){}} Resharper refactor this snippet with ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "What is the difference between new Object() and new Object{} in Expressions in C# – stackoverflow.com"