Weird case C#7 Tuple for .Net 4.6

If you're using .Net 4.6 or lower, you need to install

Install-Package "System.ValueTuple"
To get this to work ....

static void Main(string[] args)
    var x = DoSomething();

static (int x, int y) DoSomething()
    return (1, 2);


Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

spark - pyspark reading from excel files