Settings and activity
3 results found
-
6 votesMartin Dobroucký shared this idea ·
-
73 votes
An error occurred while saving the comment Martin Dobroucký supported this idea · -
12 votes
An error occurred while saving the comment Martin Dobroucký commentedDone! :)
Check my project with LINQPad CSV data context dynamic driver - https://github.com/dobrou/CsvLINQPadDriver
Hi, here it is.
Just paste following lines into LINQPad as C# Statements and reference Roslyn Nuget package.
It's far from perfect, but it has nice 'lines of code / performance' ratio :)
var sengine = new Roslyn.Scripting.CSharp.ScriptEngine();
var session = sengine.CreateSession();
string cmd;
while(!string.IsNullOrEmpty(cmd = Console.ReadLine()))
{
try{
session.Execute(cmd).Dump();
}catch(Exception e){
e.Dump();
}
}