Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is difference between Method and function

Answer Posted / jacintha

A function is just a part of code that executes code and
can return
something. A method is, in OOP, a function that is bound to
a class. As
in C# there are no stand-alone functions, every function in
C# is a method.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are escape sequences explain with example?

1020


What is extension method in c sharp?

944


When was c# created?

1044


Is is possible to force garbage collector to run?

1043


What is difference between out and ref in c#?

1044


What is typeof undefined?

979


Where static variables are stored?

1002


Can we inherit private members of class in c#?

1016


What is the difference between system.string and system.text.stringbuilder classes?

1055


Why do we need reflection in c#?

973


Can we inherit class that contains only one private constructor?

1010


You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?

1125


how can one use hcl and c sharp together?

2165


What is desktop application testing?

965


When should I throw an exception?

1046