Started C#

jamoliddin010

Jamoliddin

Posted on August 4, 2022

Started C#

C# da consoledan kiritish uchun Console.ReadLine qo'llaniladi

namespace Server
{
    public class Program
    {
        public static void Main(string[] args)
        {


ulong[]?  nums = Console.ReadLine()?.
Split(' ',StringSplitOptions.RemoveEmptyEntries).
Select(ulong.Parse).ToArray();
Console.WriteLine(nums[0] * nums[1]);

        }


    }
}
Enter fullscreen mode Exit fullscreen mode


*** C# da array orqali 1 qatorda ulong typega oid son kiritish va ularni ko'paytirish

💖 💪 🙅 🚩
jamoliddin010
Jamoliddin

Posted on August 4, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Started C#
dotnet Started C#

August 4, 2022