C# 6.0
Author: ichechet
Creation Date: 9/5/2015 6:08 AM
profile picture

ichechet

#1
Greetings!

Is it possible to add C# 6 support in WL? The reason I ask for is the stat code.

I can use string.Format construction:

string str = string.Format("{0}; {1}; {2}; {3}; {4}; {5};", a, b, c, d, e);

or just make this:

string str = $"{a}; {b}; {c}; {d}; {e};";
profile picture

Eugene

#2
Hi,

You can use C# 6.0 features in custom DLLs created in Visual Studio 2015. If using an older version of VS (say 2012 or 2013), you might need .NET Framework 4.6 Targeting Pack.
profile picture

ichechet

#3
How about WL support of these features?
profile picture

Eugene

#4
That certainly won't happen this year as there's upcoming build (which is feature complete) scheduled later this fall. If Fidelity agrees to accept some of the wishlist entries like this for a future release, we'll try to submit it. Considering that this ain't no critical issue but merely syntactic sugar and it's already available in compiled Strategies as suggested above, chances are pretty low.