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 wrapper class and primitive?

0 Answers  


How to put assembly in gac?

0 Answers  


How to parse a date time string?

0 Answers  


How do I trim a space in c#?

0 Answers  


Explain the difference between const and static read-only?

0 Answers  


what is a template?

3 Answers   Choice Solutions,


Can you mark static constructor with access modifiers?

0 Answers  


What are the concepts of dispose method?

0 Answers  


Explain the difference between a Private Assembly and a Shared Assembly

0 Answers   HCL,


What is marshalling in c#?

0 Answers  


How can you prevent escaping on backslashes in C# with string definitions?

0 Answers   Siebel,


What is reflection in c#?

0 Answers  


Categories