Missing feature in compiler
Created at 24 Dec 2019, 10:43
CY
Missing feature in compiler
24 Dec 2019, 10:43
cTrader does not recognize the "ignore" character "_" when compiling.
This is not an advanced feature, it is just a basic c#7 feature and in my opinion should be added.
this can be noted by using a ConcurrentDictionary.TryRemove(string key, out _); as referenced by
cTrader Automate
Replies
PanagiotisCharalampous
27 Dec 2019, 08:47
Hi cysecsbin.01,
At the moment cTrader supports .Net Framework 4.0. Hence not all features of C# 7.0 are supported.
Best Regards,
Panagiotis
@PanagiotisCharalampous
mpistorius
26 Dec 2019, 06:51
From my experience, you can't use any C# 7 features. cTrader only supports compilation of features in .NET 4.5.2 and C# 5 - I've asked for the compiler to be upgraded as well, but this doesn't seem to be a priority, so we're stuck with old C#.
@mpistorius