dotnetfiddle.net Open in urlscan Pro
13.64.54.2  Public Scan

Submitted URL: http://dotnetfiddle.net/
Effective URL: https://dotnetfiddle.net/
Submission: On September 09 via manual from BE — Scanned from DE

Form analysis 2 forms found in the DOM

POST /Account/LocalLogin

<form action="/Account/LocalLogin" data-ajax="true" data-ajax-begin="loginRequest" data-ajax-method="POST" data-ajax-success="loginResponse" id="form0" method="post" novalidate="novalidate">
  <div class="form-group">
    <input class="form-control" data-val="true" data-val-email="Invalid email format." data-val-required="The Email field is required." id="Email" name="Email" placeholder="Email" type="text" value="">
    <span class="field-validation-valid" data-valmsg-for="Email" data-valmsg-replace="true"></span>
  </div>
  <div class="form-group">
    <input class="form-control" data-val="true" data-val-required="The Password field is required." id="Password" name="Password" placeholder="Password" type="password">
    <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true"></span>
  </div>
  <div class="row form-group" style="padding-top: 0;">
    <div class="col-lg-7 col-md-7 col-sm-7 col-xs-7">
      <div class="checkbox">
        <label>
          <input data-val="true" data-val-required="The Remember me field is required." id="RememberMe" name="RememberMe" type="checkbox" value="true"><input name="RememberMe" type="hidden" value="false"> Remember me <span
            class="field-validation-valid" data-valmsg-for="RememberMe" data-valmsg-replace="true"></span>
        </label>
      </div>
    </div>
    <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5 text-right">
      <button type="submit" class="btn btn-default" data-loading-text="Logging in...">Log in</button>
    </div>
  </div>
</form>

POST /

<form action="/" id="CodeForm" method="post" onsubmit="return false;" novalidate="novalidate">
  <div id="share-dialog" class="sub-dialog">
    <span><b>Share Link</b></span><br>
    <input class="share-input share-link" id="ShareLink" name="ShareLink" onclick="this.select()" readonly="readonly" type="text" value="">
    <span class="clipboard-status">Copied to clipboard</span>
    <a href="javascript:copyToClipboard('#ShareLink');" class="copy-clipboard" title="Copy to Clipboard"></a>
    <a href="javascript:void(0);" class="email-share" id="email-share" title="Send to Email"></a>
    <a href="#" class="twitter-share" title="Share to Twitter"></a>
    <a href="#" class="facebook-share" title="Share to Facebook"></a>
    <div id="email-form">
      <input class="share-input" data-val="true" data-val-email="*" data-val-required="*" id="email" name="email" placeholder="to email address" type="text" value="">
      <input type="button" class="btn" style="font-size: 11px; padding: 4px 10px;" value="Send" id="email-send-btn">
      <span id="email-status"></span>
    </div>
    <div style="position: relative;">
      <span><b>Embed on Your Page</b></span><br>
      <span class="clipboard-status-widget">Copied to clipboard</span>
      <input class="share-input share-widget-output" id="EmbedLink" name="EmbedLink" onclick="this.select()" readonly="readonly" type="text" value="">
      <a href="javascript:copyToClipboard('#EmbedLink');" class="copy-clipboard" title="Copy to Clipboard"></a>
      <button id="widget-preview" type="button" class="btn" style="padding: 4px 10px; position: absolute; top: 20px; left: 268px;">Preview</button>
    </div>
    <div>
      <a href="#" class="advanced-widgetbuilder" id="widget-builder" style="color: #428bca;margin-top: 10px; font-size: 11px;">Advanced Widget Builder</a>
    </div>
    <div class="loading-layer">
      <img src="/content/images/ajax-loader.gif">
    </div>
  </div>
  <!-- Console -->
  <input type="hidden" id="OriginalConsole" value="using System;
					
public class Program
{
	public static void Main()
	{
		Console.WriteLine(&quot;Hello World&quot;);
	}
}">
  <!-- Script -->
  <input type="hidden" id="OriginalScript" value="">
  <!-- Mvc -->
  <input type="hidden" id="OriginalModel">
  <input type="hidden" id="OriginalView">
  <input type="hidden" id="OriginalController">
  <input id="OriginalFiddleId" name="OriginalFiddleId" type="hidden" value="CsCons"><input id="OriginalNuGetPackageVersionIds" name="OriginalNuGetPackageVersionIds" type="hidden" value=""><input data-val="true"
    data-val-number="The field TimeOffset must be a number." data-val-required="The TimeOffset field is required." id="timezone" name="TimeOffset" type="hidden" value="2"> <input id="NuGetPackageVersionIds" type="hidden" value="">
  <div class="main docked">
    <div id="ukraine" class="container-banner container-banner-ukraine">
      <div class="text">We Stand with Ukraine</div>
    </div>
    <div class="expander"><span class="glyphicon glyphicon-chevron-right"></span></div>
    <div class="sidebar unselectable">
      <div class="sidebar-block">
        <button class="btn btn-default btn-xs btn-sidebar-toggle" type="button">
          <span class="glyphicon glyphicon-chevron-left"></span>
        </button>
        <button class="btn btn-default btn-xs btn-sidebar-pin" type="button">
          <span class="glyphicon glyphicon-pushpin"></span>
        </button>
        <div class="text-center"><strong>Options</strong></div>
      </div>
      <div class="sidebar-block">
        <span><strong><label for="Language">Language</label>:</strong></span>
        <select class="sidebar-select form-control input-sm togetherjs" data-val="true" data-val-required="The Language field is required." id="Language" name="Language">
          <option value="CSharp" selected="selected">C#</option>
          <option value="VbNet">VB.NET</option>
          <option value="FSharp">F#</option>
        </select>
      </div>
      <div class="sidebar-block">
        <span><strong><label for="ProjectType">Project Type</label>:</strong></span>
        <select class="sidebar-select form-control input-sm togetherjs" data-val="true" data-val-required="The Project Type field is required." id="ProjectType" name="ProjectType">
          <option value="Console" selected="selected">Console</option>
          <option value="Script">Script</option>
          <option value="Mvc">MVC</option>
          <option value="Nancy">Nancy</option>
        </select>
      </div>
      <div class="sidebar-block">
        <span><strong><label for="Compiler">Compiler</label>:</strong></span>
        <select class="sidebar-select form-control input-sm togetherjs" data-val="true" data-val-required="The Compiler field is required." id="Compiler" name="Compiler">
          <option value="Net45" selected="selected">.NET 4.7.2</option>
          <option value="Roslyn">Roslyn 4.8</option>
          <option value="NetLatest">Latest (.NET 8)</option>
          <option value="NetCore31">.NET Core 3.1</option>
          <option value="Net5">.NET 5</option>
          <option value="Net6">.NET 6</option>
          <option value="Net7">.NET 7</option>
          <option value="Net8">.NET 8</option>
        </select>
      </div>
      <div class="sidebar-block">
        <div class="nuget-packages-wrap">
          <b>NuGet Packages: </b>
          <div class="nuget-panel hide-link" style="position: relative;">
            <ul class="nuget-packages"></ul>
            <input type="search" class="new-package form-control input-sm" placeholder="Package name...">
            <a href="javascript:void(0);" class="add-package">Add Another</a>
            <div style="display:none;" class="nuget-search-spinner"></div>
          </div>
        </div>
      </div>
      <div class="sidebar-block autorun">
        <span><strong>Auto Run:</strong></span>
        <br>
        <label><input id="IsAutoRun_Yes" name="IsAutoRun" type="radio" value="True">&nbsp;Yes</label>
        <label><input id="IsAutoRun_No" name="IsAutoRun" type="radio" checked="checked" value="False">&nbsp;No</label>
      </div>
      <div class="sidebar-block ad">
        <script async="" type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CK7DC27Y&amp;placement=dotnetfiddlenet" id="_carbonads_js"></script>
        <div id="carbonads"><span>
            <style>
              #carbonads .carbon-text {
                padding: 8px 10px;
                display: block;
                line-height: 1.4;
                font-size: 12px
              }
            </style>
            <span class="carbon-wrap">
              <a href="https://srv.carbonads.net/ads/click/x/GTND427LCWADK53YCAB4YKQUCVBICK7MFTSIEZ3JCA7DPKJLCVYDCK3KCWADKK7WC6YDE5QNCK7I42JECYYI523KC6SI62QYCAAIKK3EHJNCLSIZ" class="carbon-img" target="_blank" rel="noopener sponsored">
		<img src="https://srv.carbonads.net/static/30242/89f88c0b2dcc175bd912dd741eb9d563ebdf9025" alt="ads via Carbon" border="0" height="100" width="130" data-no-statview="no" style="max-width: 130px;">
	</a>
              <a href="https://srv.carbonads.net/ads/click/x/GTND427LCWADK53YCAB4YKQUCVBICK7MFTSIEZ3JCA7DPKJLCVYDCK3KCWADKK7WC6YDE5QNCK7I42JECYYI523KC6SI62QYCAAIKK3EHJNCLSIZ" class="carbon-text" target="_blank" rel="noopener sponsored">
		Free and open-source platform for building beautiful .NET apps faster. Try Uno Platform now!
	</a>
            </span>
            <a href="http://carbonads.net/?utm_source=dotnetfiddlenet&amp;utm_medium=ad_via_link&amp;utm_campaign=in_unit&amp;utm_term=carbon" class="carbon-poweredby" target="_blank" rel="noopener sponsored">ads via Carbon</a>
          </span></div>
      </div>
      <div class="sidebar-menu">
        <ul>
          <li><a href="https://dotnetcademy.net/" target="_blank">.NET Academy</a></li>
          <li><a href="https://jobs.dotnetfiddle.net/" target="_blank" rel="nofollow">.NET Jobs</a></li>
          <li><a href="javascript:void(0);" id="support-btn" onclick=" showClassicWidget() ">Support</a></li>
          <li><a href="/Roadmap">Roadmap</a></li>
          <li><a href="/Terms">Terms</a></li>
          <li><a href="/contact">Contact us</a></li>
        </ul>
      </div>
    </div>
    <div class="status-line">
      <input id="fiddle-name" name="Name" type="hidden" value="">
      <div class="name-container"><input type="text" placeholder="Enter name here..."></div>
      <div class="access-type-container"> Access: <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle form-control" data-toggle="dropdown">
            <span>Public</span>&nbsp;<span class="caret"></span>
          </button>
          <ul class="dropdown-menu" role="menu">
            <li><a href="#" data-value="Public">Public</a></li>
            <li><a href="#" data-value="OnlyWithLink">Only With Link</a></li>
          </ul>
        </div>
        <input data-val="true" data-val-required="The Access type field is required." id="access-type" name="AccessType" type="hidden" value="Public">
      </div>
    </div>
    <div class="content">
      <div class="layout-container" style="position: relative; height: 1078px;">
        <div class="pane" style="position: absolute; z-index: 1; top: 0px; height: 809px; width: 1408px;">
          <textarea id="Console" class="code-block">using System;
					
public class Program
{
	public static void Main()
	{
		Console.WriteLine("Hello World");
	}
}</textarea>
          <div class="pane-overlay"></div>
          <div class="CodeMirror cm-s-" style="width: 100%;">
            <div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 4px; left: 50px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0"
                style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; outline: none;"></textarea></div>
            <div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; pointer-events: none;">
              <div style="min-width: 1px; height: 0px;"></div>
            </div>
            <div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; pointer-events: none;">
              <div style="height: 100%; min-height: 1px; width: 0px;"></div>
            </div>
            <div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div>
            <div class="CodeMirror-gutter-filler" cm-not-content="true"></div>
            <div class="CodeMirror-scroll" tabindex="-1">
              <div class="CodeMirror-sizer" style="margin-left: 46px; margin-bottom: 0px; border-right-width: 30px; min-height: 158px; min-width: 294.609px; padding-right: 0px; padding-bottom: 0px;">
                <div style="position: relative; top: 0px;">
                  <div class="CodeMirror-lines" role="presentation">
                    <div role="presentation" style="position: relative; outline: none;">
                      <div class="CodeMirror-measure"></div>
                      <div class="CodeMirror-measure"></div>
                      <div style="position: relative; z-index: 1;"></div>
                      <div class="CodeMirror-cursors">
                        <div class="CodeMirror-cursor" style="left: 4px; top: 0px; height: 16.7188px;">&nbsp;</div>
                      </div>
                      <div class="CodeMirror-code" role="presentation" style="">
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">1</div>
                          </div>
                          <pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-keyword">using</span> <span class="cm-variable">System</span>;</span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">2</div>
                          </div>
                          <pre class=" CodeMirror-line "
                            role="presentation"><span role="presentation" class="cm-tab-wrap-hack" style="padding-right: 0.1px;"><span class="cm-tab" role="presentation" cm-text="	">    </span><span class="cm-tab" role="presentation" cm-text="	">    </span><span class="cm-tab" role="presentation" cm-text="	">    </span><span class="cm-tab" role="presentation" cm-text="	">    </span><span class="cm-tab" role="presentation" cm-text="	">    </span></span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">3</div>
                          </div>
                          <pre class=" CodeMirror-line "
                            role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-keyword">public</span> <span class="cm-keyword">class</span> <span class="cm-def">Program</span></span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">4</div>
                          </div>
                          <pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">{</span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">5</div>
                          </div>
                          <pre class=" CodeMirror-line "
                            role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-tab" role="presentation" cm-text="	">    </span><span class="cm-keyword">public</span> <span class="cm-keyword">static</span> <span class="cm-keyword">void</span> <span class="cm-variable">Main</span>()</span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">6</div>
                          </div>
                          <pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-tab" role="presentation" cm-text="	">    </span>{</span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">7</div>
                          </div>
                          <pre class=" CodeMirror-line "
                            role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-tab" role="presentation" cm-text="	">    </span><span class="cm-tab" role="presentation" cm-text="	">    </span><span class="cm-variable">Console</span>.<span class="cm-variable">WriteLine</span>(<span class="cm-string">"Hello World"</span>);</span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">8</div>
                          </div>
                          <pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"><span class="cm-tab" role="presentation" cm-text="	">    </span>}</span></pre>
                        </div>
                        <div style="position: relative;">
                          <div class="CodeMirror-gutter-wrapper" style="left: -46px;">
                            <div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 16px; width: 21px;">9</div>
                          </div>
                          <pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;">}</span></pre>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div style="position: absolute; height: 30px; width: 1px; border-bottom: 0px solid transparent; top: 158px;"></div>
              <div class="CodeMirror-gutters" style="height: 807px;">
                <div class="CodeMirror-gutter CodeMirror-lint-markers"></div>
                <div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div>
              </div>
            </div>
          </div>
        </div>
        <div class="hsplitbar" unselectable="on" style="z-index: 100; position: absolute; user-select: none; cursor: n-resize; top: 809px; width: 1408px;"><a href="javascript:void(0)" accesskey="T" tabindex="0" title="hsplitbar"></a></div>
        <div class="output-container" style="position: absolute; z-index: 1; top: 815px; height: 194px; width: 1408px;">
          <div class="output-pane pane" style="position: absolute; z-index: 1; left: 0px; width: 1208px; height: 194px;">
            <div id="output" class="output">Hello&nbsp;World</div>
            <div id="input" contenteditable="true" style="display: none;"></div>
            <div class="pane-overlay"></div>
          </div>
          <div class="vsplitbar" unselectable="on" style="position: absolute; z-index: 100; user-select: none; cursor: e-resize; left: 1208px; height: 194px;"><a href="javascript:void(0)" accesskey="R" tabindex="0" title="vsplitbar"></a></div>
          <div class="stats-pane pane" style="position: absolute; z-index: 1; left: 1214px; width: 194px; height: 194px;">
            <div id="stats" style="height: 100%; font-size: 13px;">
              <table>
                <tbody>
                  <tr>
                    <td>Last Run: </td>
                    <td>1:36:14 pm</td>
                  </tr>
                  <tr>
                    <td>Compile: </td>
                    <td>0.11s</td>
                  </tr>
                  <tr>
                    <td>Execute: </td>
                    <td>0s</td>
                  </tr>
                  <tr>
                    <td>Memory: </td>
                    <td>0b</td>
                  </tr>
                  <tr>
                    <td>CPU: </td>
                    <td>0s</td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div id="stats-loader" style="display: none;">
              <div class="bg"></div>
              <div class="spin"></div>
            </div>
            <div class="pane-overlay"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="modal fade" id="preload-dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title">Loading packages and dependencies</h4>
        </div>
        <div class="modal-body">
        </div>
      </div>
    </div>
  </div>
  <div class="modal fade" id="widget-builder-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 960px;">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title" id="myModalLabel">Advanced Widget Builder</h4>
        </div>
        <div class="modal-body">
          <iframe style="border: 0px;" width="900px" height="545px" id="widget-builder-iframe"></iframe>
        </div>
        <div class="modal-footer">
        </div>
      </div>
    </div>
  </div>
</form>

Text Content

×

LOG IN

Twitter Gmail Facebook

.NET Fiddle and .NET Academy
shared account
Remember me
Log in
Sign up or Reset password

Back To Editor
New Save Fork
    
Run
    
Share Collaborate
    
Tidy Up
 * Convert To VB.NET
 * View IL

    
Getting Started

Log in Sign up
    
 * About
 * Twitter
 * .NET Academy
 * Chrome Ext
 * Support
 * Roadmap
 * Terms
 * Privacy Policy
 * Contact Us

Share Link
Copied to clipboard

Embed on Your Page
Copied to clipboard Preview
Advanced Widget Builder

We Stand with Ukraine

Options
Language: C# VB.NET F#
Project Type: Console Script MVC Nancy
Compiler: .NET 4.7.2 Roslyn 4.8 Latest (.NET 8) .NET Core 3.1 .NET 5 .NET 6 .NET
7 .NET 8
NuGet Packages:
Add Another

Auto Run:
 Yes  No
Free and open-source platform for building beautiful .NET apps faster. Try Uno
Platform now! ads via Carbon
 * .NET Academy
 * .NET Jobs
 * Support
 * Roadmap
 * Terms
 * Contact us

Access:
Public 
 * Public
 * Only With Link

using System; public class Program { public static void Main() {
Console.WriteLine("Hello World"); } }

 
1

using System;

2

                    

3

public class Program

4

{

5

    public static void Main()

6

    {

7

        Console.WriteLine("Hello World");

8

    }

9

}




Hello World




Last Run: 1:36:14 pmCompile: 0.11sExecute: 0sMemory: 0bCPU: 0s




LOADING PACKAGES AND DEPENDENCIES



ADVANCED WIDGET BUILDER




Entity Framework Extensions - Fastest Way of Inserting Entities Trusted by over
5000 business to improve their application performance
Try It
Entity Framework Extensions - Bulk Extensions to Improve Performance BulkInsert
| BulkUpdate | BulkMerge | BulkSaveChanges | WhereBulkContains
Learn More
Entity Framework Extensions - Bulk Insert Entities with EF Core Over 20 million
downloads | Support all EF6 and EF Core versions
Learn More
Dapper Plus - A Must Have Extensions to Boost your Performance Extend your
IDbConnection with High-Performance Bulk Operations
Learn More
C# Eval Expression - Evaluate, Compile and Execute C# Code at Runtime LINQ
Dynamic | Eval.Execute(code) | Eval.Compile(code)
Learn More




×

VIEW IL CODE