BT

Facilitating the spread of knowledge and innovation in professional software development

Contribute

Topics

Choose your language

InfoQ Homepage Guides TypeScript for C# Programmers

TypeScript for C# Programmers

Bookmarks

Due to the popularity of the open web, JavaScript is becoming an essential language and since 2009 it has been running on servers too thanks to NodeJS. The problem is that due to JavaScript's dynamic type system, it is hard to create great tooling around the language such as sensible auto-completion, refactoring support, type-checking and modularisation.
TypeScript is an open source lanaguage from Microsoft that solves this problem by introducing an optional type system and class-based object-orientation, which make great tooling for large applications possible.
TypeScript let's you write JavaScript that is robust enough for the enterprise and that can run in any browser, on any host and on any operating system.

Free download

Tabel of Contents

  • Compiling or Transpiling

  • Language Features

    • TypeScript Files
    • Types
    • Modules, Classes and Interfaces
    • Functions
    • Enumerations
    • Generics
  • Structural Typing

  • Access Modifiers

  • Memory Management

    • Releasing Resources
  • Exceptions

  • Arrays

  • Dates

    • Now
    • Date Methods
  • Events

    • Mouse Events
    • Keyboard Events
    • Object Events
    • Form Events
    • Custom Events
    • Running Order
  • Framework

  • Creating Definitions

    • Dynamic Declarations
    • Type Declarations
  • Useful Tricks

    • Obtaining Runtime Types
    • Extending Native Objects
We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.