COB logoCOB honor code logo

BA 371 — VC#.NET: Data types, Control, some I/O and some Error Handling

This is an important lab as it contains a lot of the base concepts and techniques that will help you with your homework and class project. Most of this is still a refresher of your BA272 course, but some of it is new and some of it is applied in ways with which you might be unfamiliar. Study it well and ask your instructor for help when needed.

Basic data types in VC#.NET

Notice that type checking does not allow implicit conversion between data types in cases where data might get lost (may implicitly convert from short to int, but not from long to int).


Control flow



I/O (Input/Output): Getting external information to and from your program:


Exception/Error Handling:


Practice exercises