Focus on Microsoft Technologies - Tutorials, Articles, Code Samples.

Monday, September 11, 2006

4Parts Tutorial C# and VB Object-Oriented Programming in Visual Studio .NET

Object-Oriented Programming (OOP) is here to stay. It's a programming paradigm that emulates the human way of seeing things. Microsoft has pledged support for OOP by incorporating two major changes to the latest version of Visual Studio .NET. First, C# has been introduced as a brand new object-oriented language specifically designed for .NET. Second, Visual Basic has matured as a full-fledged Object-Oriented Programming (OOP) language.

This article will explore the significance of these changes to the Microsoft development community and offer tips for programming in VB.NET. Specific questions to be addressed include:

  1. What exactly is an object-oriented language?
  2. What OOP constructs can we expect to be writing in VB.NET and C#?
  3. Are there any tools or notations that can help us design OOP applications?
  4. What best practices can we apply to produce more efficient code and designs that promote reuse?
  5. What is the next big thing in OOP?

I. What Exactly Is an Object-Oriented Language?

OOP first appeared as a major implementation with SmallTalk in the early 1980's and has been formally managed by the Object Management Group (OMG) since 1989. OMG provides industry guidelines for object-oriented software development by supporting a Unified Modeling Language (UML) as a standard notation for modeling applications.

Today, many organizations have adopted UML as a standard for specifying, visualizing, constructing, and documenting the artifacts of software systems. The standard defines a set of diagrams that can be used to model different aspects of a system: use cases and requirements, business logic, dataflow, states and activities, static and dynamic views, and so forth.

One view, the class diagram (see the following example), represents the static structure of an application. That is, the things that exist (which will ultimately show up in your code), their internal structure, and their relationship to one another.

4Parts Tutorial - C# and VB Object-Oriented Programming in Visual Studio .NET



Post a Comment

Kantu said...

Thanks for the Excellent article