Posted by : Sudhir Chekuri Thursday, 31 December 2015

Simple method is a method that doesn't have any arguments and return type.

Syntax

Access specifier return type methodname( )

Example

public void add()

{

Console.WriteLine("addition");

}

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Followers

Total Pageviews

Powered by Blogger.

Blog Archive

- Copyright © 2013 DevStudent - Metrominimalist - Powered by Blogger - Designed by Johanes Djogan -