In latest C# 7 (2017) there is the ability to return multiple values. Is this supported in Ver 12 ? I have not tried yet.
https://weblogs.asp.net/sreejukg/c-7-re ... om-methods
John
returning multiple values from c# function
-
- Posts: 53
- Joined: 18 Feb 2011
- Has thanked: 11 times
- Been thanked: 13 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: returning multiple values from c# function
Hello John,
Unfortunately this feature is not supported as MultiCharts .Net uses .Net Framework 4.0.
Unfortunately this feature is not supported as MultiCharts .Net uses .Net Framework 4.0.
-
- Posts: 22
- Joined: 13 Feb 2017
- Has thanked: 27 times
- Been thanked: 5 times
Re: returning multiple values from c# function
Hi Henry,
are there any plans to upgrade MC.NET to a later version of .NET framework?
Best
Peter
are there any plans to upgrade MC.NET to a later version of .NET framework?
Best
Peter
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: returning multiple values from c# function
Peter, this is not something that we have in our to-do list at the moment. You can return multiple values from c# function by reference.are there any plans to upgrade MC.NET to a later version of .NET framework?
Re: returning multiple values from c# function
Hi
1/ It is possible to get multiple answer is you send in a function an array by ref . (or an object by ref) The function just fill the array.
2/ It is possible to work with Framework 4.6 with MC
you just have to select the Framework in VS after opening the project then you can compile in Framework 4.6
it works fine. I do it all the time as I have to work with DLL working with Framework 4.6
I hope this help
1/ It is possible to get multiple answer is you send in a function an array by ref . (or an object by ref) The function just fill the array.
2/ It is possible to work with Framework 4.6 with MC
you just have to select the Framework in VS after opening the project then you can compile in Framework 4.6
it works fine. I do it all the time as I have to work with DLL working with Framework 4.6
I hope this help