This sample allows you to highlight C# source code. Highlighting is based on http://hilite.me web service, which is called from a background job in a truly asynchronous way – neither controller, nor any other entity is waiting for a completion. Results are delivered via WebSockets using SignalR.

All the snippets are removed every day at 12:00 AM UTC.

// aaaaaaaaaaaaaaaa
Console.WriteLine("Hello, world!");
Console.WriteLine
rrr
// Hello, world!
(string arg) => { Console.WriteLine(arg); };
aaa
throw;
var temp = 1/0;
columndata.data = myContext.Column
                .Where(c => c.ReportId == reportid)
                .Where(c => c.InReport == true)
                .OrderBy(k => k.JsonKey).ToArray<Column>();
console.writeline("Hello World");
public void Send(string _fromAddress, string _toAddress);
Console.WriteLine("Hellowsorld");
Console.WriteLine("Helloworld");
nn
public void Send(string _fromAddress, string _toAddress);
if(1==1)
{dowork();
}
hjgh
console.writeline("Hello World");
console
public TResult PostAsync<T, TResult>(string url, T dados, string token)
        {
            HttpClient cliente = CreateClient();

            string jsonString = JsonConvert.SerializeObject(dados);

            var _content = new StringContent(jsonString, Encoding.UTF8, "application/json");

            cliente.DefaultRequestHeaders.Add("token", token);

            HttpResponseMessage response = cliente.PostAsync(url, _content).Result;
            response.EnsureSuccessStatusCode();

            var content = response.Content.ReadAsStringAsync().Result;

            var obj = JsonConvert.DeserializeObject<TResult>(content);

            cliente.Dispose();
            return obj;
        }
public TResult PostAsync<T, TResult>(string url, T dados, string token)
        {
            HttpClient cliente = CreateClient();

            string jsonString = JsonConvert.SerializeObject(dados);

            var _content = new StringContent(jsonString, Encoding.UTF8, "application/json");

            cliente.DefaultRequestHeaders.Add("token", token);

            HttpResponseMessage response = cliente.PostAsync(url, _content).Result;
            response.EnsureSuccessStatusCode();

            var content = response.Content.ReadAsStringAsync().Result;

            var obj = JsonConvert.DeserializeObject<TResult>(content);

            cliente.Dispose();
            return obj;
        }
                    // We'll add the highlighting a bit later.
                    using (StackExchange.Profiling.MiniProfiler.StepStatic("Service call"))
                    {
                        snippet.HighlightedCode = HighlightSource(snippet.SourceCode);
                        snippet.HighlightedAt = DateTime.UtcNow;
                    }
columndata.data = myContext.Column
                .Where(c => c.ReportId == reportid)
                .Where(c => c.InReport == true)
                .OrderBy(k => k.JsonKey).ToArray<Column>();
for(int i =0; i < 20; i++){
console.log(1);
}
for(int i =0; i < 20; i++){
console.log(i);
}
Console.WriteLine("Hello World");
{
    public UserEntity Person { get; set; }
}
using aspnet.core
Console.Writeline("xxxx");
{
   "dependencies": {
       "Hangfire.Pro.Redis": "2.0.2"
   }
}
Hi
Ghjj
Console.WriteLine("Hello World");
sfsdfsfsd
s
test
Console.Writeline("Hello");
{
    public string FirstName { get; set; }
    public string LastName { get; set; }
    public string EmailID { get; set; }
}
hello world
test
This is test for the demo with DateTome.Now
Console.WriteLine("Hello World");
Console.WriteLine("Hello Lab")
l;kjdfgk;sd
Console.WriteLine("Hello, world!");