title: how to add section Scripts to asp.net mvc Razor View without layout page
body: <p>My mvc view layout is null. how can i add script inside view.</p>
  
  <pre><code>@{
     Layout = null;
  }
  
  @section Scripts{
  &lt;script type="text/javascript"&gt;
  
      $(document).ready(function () {
          $('#txtChild1').on('change', function () {
               $("#C1Age1").show();
          });
      });
  
  &lt;/script&gt;
  }
  </code></pre>
  
  <p>Error show </p>
  
  <blockquote>
    <p>cannot resolve section 'Scripts'</p>
  </blockquote>