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

Answers were Sorted based on User's Feedback



What is difference between Method and function..

Answer / owais ahmed

The major difference between
methods and functions is that methods called by the
reference variables
called objects where as the functions do not having any
reference
variables.methods are invoked using objects.wheres as in
case of functions here is no quesion of objects.we call it
directly

Is This Answer Correct ?    3 Yes 0 No

What is difference between Method and function..

Answer / 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

What is difference between Method and function..

Answer / rohit

function returns a value and a method doesnt return anything

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the difference between delegates and events in c#?

0 Answers  


What is type safe code?

0 Answers  


Can destructors have access modifiers?

0 Answers  


How do I enforce const correctness in c#?

0 Answers  


What is a template class?

0 Answers  


What is the use of readkey in c#?

0 Answers  


Difference between direct type casting and using "as" keyword?

1 Answers   TCS,


So what makes your code really object-oriented #?

0 Answers  


Can we overload indexer in c#?

0 Answers  


what is the difference between interface and multiple interface?

0 Answers   Wipro,


What is int32 maxvalue?

0 Answers  


Distinguish between system.string and system.text.stringbuilder classes?

0 Answers  


Categories