What is difference between Method and function

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between destructor and finalize?

616


Who is a accessibility modifier “protected internal” available to ?

776


Is array ienumerable c#?

657


What does dbml mean?

671


Is c# queue thread safe?

676


How many digits are in an integer?

621


Why do we Need of static class in c#?

809


What do you mean by hashtable c#?

737


Which function is the entry point for a DLL in MS Windows 3.1?

869


Can class inherit from struct c#?

715


When was c# created?

696


State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?

669


How does c# achieve polymorphism?

684


Is c# front end or back end?

678


What is the main method?

679