TypeScript is Secretly Just C#
Call me Captain Obvious! They are both Microsoft products.
But I've been learning C# and the similarities have been interesting!
Here are the things that are really nice about working in C# so far:
- It's a compiled language. SO there are some errors that are caught at compile time, like undeclared variables.
- Intelisense is strong here. Typing values right out the gate makes that all the easier.
- Self documentation is pretty wicked in Visual Studio. Opening up the Assembly Browser gives you access to ALL the properties and methods for objects and classes that are used in your project.
- Interfaces and Generic Types also are a borrowed C# concept!
So I'll say this much: learning C# has been a really fun way to also learn TypeScript.