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 r arraylist? what the use of Hashtables?

4 Answers  


What are the advantages of constructor?

0 Answers  


can we throw execption from catchblock

4 Answers   Accenture,


Explain the ways to deploy an assembly?

0 Answers  


What does return do in for loop?

0 Answers  


Can you use all access modifiers for all types?

0 Answers  


What is use of hashtable in c#?

0 Answers  


Explain the role of the datareader class in ado.net connections?

0 Answers  


What?s an abstract class?

4 Answers   NIIT,


Write one code example for compile time binding and one for run time binding? What is early/late binding?

0 Answers  


Why do we need constructors?

0 Answers  


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

0 Answers   HCL, NIC,


Categories