What is the difference between method and function in c#?



What is the difference between method and function in c#?..

Answer / Neha Bhagaur

Namespaces in C# help manage complex programs by providing a means to group related types (classes, structures, etc.) and prevent naming collisions. They also make code more organized and easier to navigate.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do you prevent a class from being inherited in c#?

1 Answers  


What are generic types?

1 Answers  


What is the difference between c and c sharp?

1 Answers  


main concept of c sharp

3 Answers  


How do you comment out code in c#?

1 Answers  


Can you override private virtual methods?

5 Answers  


how can i get this 123456789 1234 6789 123 789 12 89 1 9

1 Answers   Excel,


What are extension methods and where can we use them?

1 Answers  


How to Install uninstall assemblies into GAC?

1 Answers   CitiusTech,


What are the types of methods in c#?

1 Answers  


What is the use of giving more than one CATCH BLOCK in one TRY block? Directly we can give that catch(Exception e)?Why we go for arrayoutofbound Exception,divided by zero etc..? Explain

2 Answers  


What do you mean by for each loop?

1 Answers  


Categories