What is a function c#?



What is a function c#?..

Answer / Jaiprakash

"A function (or method) in C# is a block of statements that are executed when it's called. Functions can take parameters, perform some operations on them, and optionally return a result."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Is versioning applicable to private assemblies?

1 Answers   Arigo Infotech,


Write the difference between TypeOf and GetType?

1 Answers   Wipro,


For a combobox and a listbox same datatable given as a datasource. Now problem is that whenever focus of listbox changes selected value of combobox also get change or vice versa. what to be done to avoid this. According to requirement we cannot make different datasouce.

2 Answers   Syntel,


Explain About friend and Protected friend

1 Answers  


what is the difference between a struct and a class in c#?

1 Answers   4Cplus,


Why do we need abstraction in c#?

1 Answers  


how encapsulation is implemented in c#

1 Answers   Cognizant,


What is firstordefault c#?

1 Answers  


Describe the parts of assembly.

1 Answers  


What is the use of regex in c#?

1 Answers  


Can we have static indexer in c#?

1 Answers  


What is constructor overloading in c#?

1 Answers  


Categories