Lecture overview -- Keyboard shortcut: 'u'  Previous page: Operations -- Keyboard shortcut: 'p'  Next page: C# in relation to Visual Basic [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 22 : 43
Object-oriented Programming in C#
Introduction to C#
Other substantial differences

  • Program organization

    • No requirements to source file organization in C#

  • Exceptions

    • No catch or specify requirement in C#

  • Nested and local classes

    • Classes inside classes are static in C#: No inner classes like in Java

  • Arrays

    • Rectangular arrays in C#

  • Virtual methods

    • Virtual as well as non-virtual methods in C#