c# - Roslyn and .NET Runtime version -
is possible utilize roslyn compiler , new features of c# 6.0 old versions of .net runtime (for example, .net 4.0)?
for example, want utilize expression-bodied members (int s => x + y;
instead of int s { { homecoming x + y; } }
) in .net 4.0 application.
the new c# 6.0 features don't depend upon framework back upwards yes, app compiled c# 6.0 compiler run on .net 4.0, assuming of course of study specify targeting .net 4.0 in project file in first place.
c# .net roslyn c#-6.0
No comments:
Post a Comment