Preview

Csharp

Better Essays
Open Document
Open Document
1639 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Csharp
Introduction to C#
Anders Hejlsberg Distinguished Engineer Developer Division Microsoft Corporation

C# – The Big Ideas
The first component oriented language in the C/C++ family Everything really is an object Next generation robust and durable software Preservation of investment

A component oriented language
C# is the first “component oriented” language in the C/C++ family Component concepts are first class:
Properties, methods, events Design-time and run-time attributes Integrated documentation using XML

C# – The Big Ideas

Enables one-stop programming
No header files, IDL, etc. Can be embedded in web pages

Everything really is an object
Traditional views
C++, Java: Primitive types are “magic” and do not interoperate with objects Smalltalk, Lisp: Primitive types are objects, but at great performance cost

C# – The Big Ideas

C# unifies with no performance cost
Deep simplicity throughout system

Improved extensibility and reusability
New primitive types: Decimal, SQL… Collections, etc., work for all types

Robust and durable software
Garbage collection
No memory leaks and stray pointers

C# – The Big Ideas

Exceptions
Error handling is not an afterthought

Type-safety
No uninitialized variables, unsafe casts

Versioning
Pervasive versioning considerations in all aspects of language design

Preservation of Investment
C++ heritage
Namespaces, enums, unsigned types, pointers (in unsafe code), etc. No unnecessary sacrifices

C# – The Big Ideas

Interoperability
What software is increasingly about MS C# implementation talks to XML, SOAP, COM, DLLs, and any .NET language

Millions of lines of C# code in .NET
Short learning curve Increased productivity

Hello World using System; class Hello { static void Main() { Console.WriteLine("Hello world"); } }

C# Program Structure
Namespaces
Contain types and other namespaces

Type declarations
Classes, structs, interfaces, enums, and delegates

Members

You May Also Find These Documents Helpful

  • Satisfactory Essays

    I have learned few more advanced topics in c # programming Language in these two weeks. The topics are:…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    .NET is an open source product and solely belongs to Microsoft although there are other 3rd party areas that have been added to allow for more compatibility. It is also integrated within the Windows…

    • 1025 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    The most popular dynamic languages including Ruby, Python, PHP and JavaScript, which we can use as a server-side language through Node.js. Statically typed languages like Java, C and C++ are the most popular languages in CS programs, although Python has been gaining ground in recent years.…

    • 737 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Searching and Sorting Streams and Files Graphics GUI Components and Events Mouse, Keyboard, Sounds, and Images Big-O Analysis of Algorithms The Java Collections Framework Lists and Iterators Stacks and Queues Recursion Revisited Binary Trees Lookup Tables and Hashing Heaps and Priority Queues Design Patterns…

    • 3908 Words
    • 16 Pages
    Powerful Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of _____________.…

    • 4265 Words
    • 23 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Knowledge, experience, specification and implementation of design patterns. Domain Driven Design. UI Patterns (MVC, MVVM), Remoting, Patterns, Repository Patterns.…

    • 544 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    an error check was needed to check the validity of the hours entered. An error check…

    • 510 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Barbara Liskov

    • 399 Words
    • 2 Pages

    Liskov has led many significant projects, including the Venus operating system, a small, low-cost and interactive timesharing system; the design and implementation of CLU; Argus, the first high-level language to support implementation of distributed programs and to demonstrate the technique of promise pipelining; and Thor, an object-oriented database system. WithJeannette Wing, she developed a particular definition of subtyping, commonly known as the Liskov substitution principle. She leads the Programming Methodology Group at MIT, with a current research focus inByzantine fault tolerance and distributed computing.…

    • 399 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Mr. Robles

    • 7324 Words
    • 30 Pages

    Finally, the third paradigm supported by F# is language oriented programming (the design of F# in this area is largely influenced by ML, Haskell and also by…

    • 7324 Words
    • 30 Pages
    Powerful Essays
  • Powerful Essays

    Unix Operating System

    • 5458 Words
    • 22 Pages

    Kernighan, Brian W., and Ritchie, Dennis M., the C Programming Language, Prentice-Hall Software Series, second edition, 1988.…

    • 5458 Words
    • 22 Pages
    Powerful Essays
  • Good Essays

    History of C++

    • 813 Words
    • 4 Pages

    Duffy, T. (1999, September 13). C++ success story. Computerworld Vol. 33 Issue 37, p98, 1/3p, 1c. Retrieved December 11, 2006, from Ebsohost.…

    • 813 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Lewis, J.P., & Neuman, U. (2003). Performance of Java versus C++. Last retrieved: 27-11-2006 from http://www.idiom.com/~zilla/Computer/javaCbenchmark.html…

    • 3420 Words
    • 14 Pages
    Powerful Essays
  • Better Essays

    L215 Report

    • 3708 Words
    • 15 Pages

    In any programming language, there are several data types that are available for programmers to use, such as integers, floating point numbers, strings or characters. Many applications need more complicated structures of data that can be added on a program-to-program basis; hence, the notion of data abstraction.…

    • 3708 Words
    • 15 Pages
    Better Essays
  • Good Essays

    The desire to use the power of information processing efficiently in problem solving has pushed the development of newer programming languages. The evolution of programming languages is typically discussed in terms of generation of languages. The first generation of Programming languages is machine language, which required the use of binary symbols (0s and 1s). Because this is the language of the CPU, text file that are translated into binary sets can be read by almost every computer system platform. Developers of programming languages attempted to overcome some of the difficulties inherent in machine language by replacing the binary digits with symbols that programmers could more easily understand. These second-generation languages use codes like A for add, MCV for move, and so on. Another term for these languages in assembly language, which comes from the programs (called assemblers) used to translate it into machine code. Systems software programs such as OSs and utility programs are often written in assembly languages.…

    • 452 Words
    • 2 Pages
    Good Essays

Related Topics