Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1743

C++/CLI doesn't support lambda expressions

$
0
0
Now that I can create a plugin in C++/CLI for use with TCC,
I was hoping that I could use LINQ expressions in a plugin.

Here's my test C# Code;
Code:
using System;
using System.Linq;

class Program
{
    static void Main()
    {
        string input = "24 +13+12 +21 +46 +14+10+20+14+   30     +18+ 50";
        
        var sortedNumbers = input
            .Split('+')
            .Select(int.Parse)
            .OrderBy(n => n)
            .ToArray()...

Read more

Viewing all articles
Browse latest Browse all 1743

Trending Articles