Download presentation
Presentation is loading. Please wait.
Published bySantino Woolsey Modified over 10 years ago
1
C# An overview
2
Visual C# Microsoft describes C# as a simple, general-purpose programming language that enables you to build rich, connected Web and client applications on the.NET Framework. A multi paradigm language with a OOP syntax Is a spawn of Delphi and Java and the Delphi designer leads development C# is designed to be a simple and general purpose language Designed to have a minimal learning curve for devs porting from other C languages such as C and C++ Can be used on embedded systems
3
Hello world example class ExampleClass { static void Main() { System.Console.WriteLine("Hello, world!"); }
4
Criticisms Doesn’t compete with C on performance Programs written for.NET and other virtual machine environments require more memory than similar applications written in languages like C++. C++ does not have an extensive associated library. C# CPU speed is also lower than for native languages Only completely available on Microsoft OS’s Always debates about whether C# or VB is better
5
Features of Visual Basic.NET not found in C# Auto-wireup of events, VB.NET has the Handles syntax for events. Support for optional variables. Visual Basic.NET is better suited for DLL interoperability which is a particular advantage for automating Microsoft Office Marshalling an object for multiple actions using an unqualified dot reference. This is done using the With...End With structure
6
Visual Basic.NET has better interoperability with older versions of Microsoft Office (In term of native VBA language for Office still is Visual Basic 6.X, not Visual Basic.NET) C# is case sensitive so it is possible to have two variables with the same name, eg variable1 can be different to Variable1
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.