Lesson 2:Methods in details

Methods and their return types and arguments lists A method can be termed as a collection of statement(s) + expression(s) which  perform specific tasks when invoked. A method mainly consists of access modifier(s) such as public, private, protected, internal etc, name, modifier (such as  static, override), return type, argument (s), members in the form of variables, operators  and a body Example using System; using System.Text; namespace…