Lecture overview -- Keyboard shortcut: 'u'  Previous page: Methods [Section] -- Keyboard shortcut: 'p'  Next page: Local variables in methods -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Data Access, Properties, and Methods - slide 18 : 29

Methods in C#

Instances methods in a class C are intended to carry out operations on instances of C

Such operations modify the state of instances of C, and may also extract information from instances of C

modifiers return-type method-name(formal-parameter-list){
  statements
}