C# Out Parameter

C# out parameter is like type of parameter that is declared with using out keyword. It is the like as reference parameter, that doesn’t create memory allocation. Usually, a method returns value with using return keyword. Unfortunately, a return modifier can return only one value at a time. Sometime, your C# program required to return multiple values from […]

Continue Reading →
 

C# Method Declaration

In this article i am explaining about Method in C#. Method is the production block of object-oriented programming. It combines related code together and makes program easier. In C# method declaration, you can declare method by following way: Syntax: <Access Specifier> <Return Type> <Method Name>(Parameter list) {     Body } Example: public void Hello() {       Body } […]

Continue Reading →