C# - Programming Language
This course covers the basics of programming in C#. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!

Methods

Lesson 12
Author : Mike Dane
Last Updated : November, 2017


Code

Copypublic static void Main(string [] args){
     int sum = AddNumbers(4, 60);
     Console.WriteLine(sum);
}

public static int AddNumbers(int num1, int num2){
     return num1 + num2;
}