Search This Blog

Saturday, June 26, 2010

Introduction to C# : Part-1

C# is very similar to Java and somewhat closer to C++

According to an expert::
C# is : 70% Java, 10% C++, 10% Visual Basic, 10% new.
Moreover using C#.NET with Visual studio gives C# extreme power, with ease of drag and drop and visual development, lots of code writing is reduced and Designing Application GUI is efficient, simplified and enhanced.
C# development started in January 1999, Anders Hejlsberg (smiling at right-hand side) was the team lead he build a team and started developing C# at Microsoft.

Why learn C#?
General Benefits::
  • It’s easy and powerful: People with background in C/C++, java will quickly learn C#, even its good for a completely new programmer, as I say its Newbie Friendly with fast learning curve.
  • Market demand: C# has become an industry standard, and there is always a need for C# Developer, just check the any local job site or ask a developer.
  • Widely used : so more help available online, large amount of source code available to enhance learning.
  • You may grasp Java easily.(if you haven’t learn it before)
Technical Benefits::
  • Windows Application development is greatly simplified.
  • Automatic garbage collection.
  • Automatic variable initialization ( can be done manually using static constructors)
  • No header files ".h" required.
  • No global functions or variables, everything in inside a class, fully object oriented.
  • No pointer required (but optional) which was harder to learn for beginners and was error prone.
  • Definition of classes and functions can be done in any order.
  • Declaration of functions and classes not needed.
  • Classes can be defined within classes.
  • Further more if you have learned C#, there is an opportunity for you to get started learning to make web application.
Advantages over Java:
  • Getter/Setter (Get/Set) methods are simplified and shorten, so it results in clean code.
  • Clean and separated events management as compare to java.
Possible usage of C# application:
Desktop DataBase Application:A database application which fetches, updates, deletes data and many more.
Desktop Utilities:It’s a long list from games, to Video/Audio players, system tools it’s a wide variety.

FAQs ::
What C# version this site will teach?
Well first you need to learn the language constructs that is learning the language syntax works.
C# version, there is only the concept of .Net version that .NET 1.0, 1.1, 2.0, 3.0, 3.5 and 4.0
Each new .NET version adds new functionality in the language, so first learn the language construct then stay up-to-date with the .NET version.

External Links:
C# at Wikipedia

Thursday, June 3, 2010


Hello Folks.
Well, this Blog will contain Web and Desktop Development stuff..
Primary areas of development include, Data structures in C++, C#, ASP.NET as well as some technology related news and gadgets...
Stay tuned...