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

Why we use methods in c#?

947


What is delegate in c# interview questions?

990


What does return do in for loop?

914


What is an assembly loader?

938


What are the advantages of generics in c#?

902


If I return out of a try/finally in c#, does the code in the finally-clause run?

969


When should we use delegates in c#?

922


What is the delegate in c#?

901


Is system a class in c#?

913


What is c# console application?

938


How do generics work in c#?

902


What is difference between static and readonly in c#?

1011


For methods inside the interface why can’t you specify the accessibility modifier?

948


What is difference between sleep () and wait ()?

923


What are the 2 broad classifications of fields in c#?

921