C SHARP AN INTRODUCTION

Instead of multiple inheritance, pointers, and templates, you do get additional new features that will help you build Web applications and Web services. C# supports COM Interop, multilanguage programming, and rapid application development. There are a few trade-offs.

C# is managed code. The benefit is that you don’t have to worry about the slicing problem caused by bad pointers, and the garbage collector will help you avoid memory leaks. The trade-off is the relinquishment of raw pointers. Pointers support some advanced idioms, like reference-counted objects and access to all memory. This same access to any memory address provides ultimate control and responsibility. With power comes responsibility. (For raw pointers, you can still use unmanaged C++ code.)

C# is most like C++ in its grammar. Most of the everyday idioms you will use regularly in C# have the same syntax as C++, making the learning curve for C++ programmers the shallowest. Delphi and Java programmers will also find the transition to C# relatively easy, and even VB programmers will find a transition from VB to C# easier than from VB to C++.

Related Posts

VISUAL STUDIO INTRODUCTION

C SHARP INTRODUCTION

C SHARP OUT LOOK

DOT NET AND C SHARP

C SHARP APPLICATION STRICTURE

OOPS INTRODUCTION

OOPS AND C SHARP

IDE AND C SHARP

INSTANTIATING OBJECTS IN C SHARP

CLASSES AND OBJECTS IN C SHARP

OPERATORS IN C SHARP

SWITCH AND ITERATION IN C SHARP

BRANCHING IN C SHARP

CONSTANTS AND STRING

STATIC AND INSTANCE MEMBERS IN DOT NET

No comments:

Post a Comment