Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CS2TSNew to Visual Studio Code? Get it now.
CS2TS

CS2TS

Christofel Hakim

|
468 installs
| (0) | Free
CS2TS: C# DTO class to TypeScript interface converter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cs2ts README

CS2TS: C# to TypeScript

Features

Convert C# DTO to TypeScript in two simple steps:

Select the class you want to convert Press alt + shift + c (Windows) or cmd + shift + c (Mac)

Requirements

Visual Studio Code ^1.5.2

Known Issues and Limitations

  • Nullable datatype still not supported
  • Unable to convert generic classes
  • Convert C# class to TypeScript interface only

Release Notes

  • Initial release of CS2TS includes basic feature i.e. automatically convert C# DTO class to TypeScript interface.

1.0.0

Initial release of CS2TS: Convert C# DTO class to TypeScript

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft