Return multiple values in c# method (Tuple)

public Tuple<int, int,string> GetMultiValue()
{
     return Tuple.Create(1,2,"Test");
}

Comments

Popular posts from this blog

SECURING WEBAPI USING JSON WEB TOKEN (JWT) IN WEB API C#

Adding ASP.NET MVC5 Identity Authentication to an existing project

Multiple model pass in MVC using tuple or Tuple in MVC