Answers for "function in c# to do addition"

C#
3

addition in c#

using System;

namespace beginner
{
    class Program
    {
        static void Main(string[] args)
        {
            int Number = 90;
            int Number2 = 58;
            int opration = Number + Number2;
            Console.WriteLine(opration)
        }
    }
}
Posted by: Guest on July-01-2021
1

function in c# to do addition

int a = 80;
int b = 20;
int addition(int number1, int number2)
{
	int result = number1 + number2;
	return result;
}
Console.WriteLine(addition( a,  b));
Posted by: Guest on October-01-2021

Code answers related to "function in c# to do addition"

C# Answers by Framework

Browse Popular Code Answers by Language