Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mustakimali/cant-run-linqpad

When you can't run LinqPad but you need to write throwaway code
https://github.com/mustakimali/cant-run-linqpad

csharp-code csharp-interactive linqpad roslynpad throwaway

Last synced: 8 days ago
JSON representation

When you can't run LinqPad but you need to write throwaway code

Awesome Lists containing this project

README

        

# Can't Run LinqPad

When you can't run LinqPad

```
curl -sSL https://raw.githubusercontent.com/mustakimali/cant-run-linqpad/master/Core/first-start.sh | bash
```

## How to use

### Dump
Use the extension method `Dump([title], [indent])` to output anything.

### Reference NuGet Package

Paste a Nuget Cli command in a commented out c# code. One command per line

Both Package Manager and .NET CLI syntax are supported.

```
// Install-Package Newtonsoft.Json -Version 12.0.1
// dotnet add package Newtonsoft.Json --version 12.0.1
```

![Demo of Nuget Package](Core/Static/demo-import-nuget.gif)