Saturday, June 28, 2014

C# Tutorial for Beginners 11 - Introduction to C# Methods

2:42 PM







using System;
namespace MyProject.Examples
{
class ExampleOne
{
public static void Main()
{

//ExampleOne eOne=new ExampleOne();
//eOne.sum();
ExampleOne.sum();
Console.ReadKey();
}

public static void sum()
{
int no1 = 364, no2 = 234;
int add = no1 + no2;
Console.WriteLine("Addition\t\t{0}", add);
}
}
}








































-----------------------------------------------

Searches related to introduction to method in c#

c# process tutorial

c# function definition

c# extension methods tutorial

c# anonymous methods tutorial

c# lambda function tutorial

c sharp method

Introduction to the Methods of a Class

Introduction to Classes, Objects, Methods

Searches related to method in c#

abstract method in c#

finalize method in c#

dispose method in c#

anonymous method in c#

virtual method in c#

split method in c#

tostring method in c#

main method in c#

Written by

We are one of the initiators of the development of information technology in understanding the need for a solution that is familiar and close to us.

0 comments:

Post a Comment

 

© 2013 Klick Dev. All rights resevered.

Back To Top