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. In C#, every executed
instruction is performed in the context of a method. The Main method is
the entry point for every C# application and it is called by the common
language runtime (CLR) when the program is started.
What is a method?
Method is a function.
Method is a sub program that performs a specific task.
Theory
-----> Input (parameters) -----> Task (Method Name) ---->Output (Result).
No comments:
Post a Comment