Lecture overview -- Keyboard shortcut: 'u'  Previous page: The Overall Picture  -- Keyboard shortcut: 'p'  Next page: Declarations and Types  -- 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 25 : 43
Object-oriented Programming in C#
Introduction to C#
The Overall Picture

  • Program organization

    • Similar: Modul/Class in explicit or implicit namespace

  • Program start

    • Similar: Main

  • Separation of program parts

    • VB: Via line organization

    • C#: Via use of semicolons

  • Comments

    • VB: From an apostrophe to the end of the line

    • C#: From // to the end of the line or /* ... */

  • Case sensitiveness

    • VB: Case insensitive. You are free to make your own "case choices".

    • C#: Case sensitive. You must use the correct case for both keywords and you must be "case consistent" with respect to names.