Linq implemented in TypeScript

Linq, the powerful system introduced on .NET 3.5 is a set of methods that allows you to manipulate collections and data.

I brought those methods to TypeScript, the source code is on my Github.

2015-06-08 06-06-32-819

The syntax is quite similar and the usage is essentially the same.

var three = [1, 2, 3].AsLinq().FirstOrDefault(o => o == 3);

I also created a Visual Studio Extension to enable TypeScript in Unit Tests.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s