Missing feature in compiler

Created at 24 Dec 2019, 10:43
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
CY

cysecsbin.01

Joined 10.11.2018 Blocked

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

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

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 

Join us on Telegram

 


@PanagiotisCharalampous