How to make C # code formatted in LinqPad?
I tried: Ctrl + E, Ctrl + D to format the entire document. Ctrl + E, Ctrl + F to format the selection.
None of them work.
void Main()
{
var ids = Enumerable.Range(1, 10);
var ran = new System.Random(10);
var q = from n in ids orderby ran.Next() select n;
q.Dump();
}
source
share