Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mustakimali/cant-run-linqpad
- Owner: mustakimali
- Created: 2019-02-19T22:05:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T04:06:07.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T20:48:24.053Z (over 1 year ago)
- Topics: csharp-code, csharp-interactive, linqpad, roslynpad, throwaway
- Language: C#
- Homepage: https://go.mustak.im/cant-run-linqpad
- Size: 2.53 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)