Addition of two numbers practical in .Net

 class Addition

{

public static void Main()

{

int a=10,b=20,c;

c=a+b;

System.Console.WriteLine("Result is " + c);

}

}



Comments

Popular posts from this blog

Map, MapGet, MapPost, MapPut and MapDelete methods in ASP.NET Core MVC - Routing ASP.NET

Layout View In ASP.NET Core 6 | _Layout.cshtml ASP.NET | Master Page ASP.Net Core

Attribute Routing in ASP.NET Core MVC