mberTask:</p>

<pre lang="csharp"><span class="k">using</span> System;

<span class="k">namespace</span> MyCustomTask
{
    <span class="k">public</span> <span class="k">class</span> RandomNumberTask
    {
        <span class="k">public</span> <span class="k">static</span> <span class="k">int</span> RandomNumber(<span class="k">int</span> min, <span class="k">int</span> max)
        {
            <span class="k">var</span> random = <span class="k">new</span> Random();
            <span class="k">