Lecture overview -- Keyboard shortcut: 'u'  Previous page: Declarations and Types  -- Keyboard shortcut: 'p'  Next page: Expressions and Operators -- 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 27 : 43
Object-oriented Programming in C#
Introduction to C#
Declaration and Types

  • Declaration structure

    • VB: Variable before type

    • C#: Variable after type

  • Types provide by the languages

    • The same underlying types

    • Known under slightly different names in VB and C#

VB and C# share the .NET types