Interviews2 answers
What are methods in C#?
2 Answers
A method is a code block that contains a series of statements. A program causes the statements to be executed by calling the method and specifying any required method arguments.
Bir SinghPosted Jul 1, 2015, 9:57 PM EDT
Methods are the actions performed by the class.Without method we can not perform any action.
whatever the logic you are writing inside the class that should come be written in methods.without methods you can't perform any action.
for similar type of C# interview question you can refer this link
c# interview questions
Krishna MohanPosted May 2, 2014, 9:43 PM EDT
