ReadLine

net

ReadLine Ra’no Norpo’latova *]:mt-1 [&.highlighted:last-child]:rounded-b-md [&.highlighted:last-child>*]:mb-1 [&:only-child]:hover:ring-transparent [&.highlighted]:rounded-none [&:not(.highlighted)_+_.highlighted]:rounded-t-md [&:not(.highlighted)_+_.highlighted>*]:mt-1 [&.highlighted:has(+:not(.highlighted))]:rounded-b-md [&.highlighted:has(+:not(.highlighted))>*]:mb-1 [&:not(.highlighted)_+_.highlighted:has(+:not(.highlighted))]:rounded-md»>using System; namespace ConsoleApp2 { class Program { static void Main(string[] args) { string ism; Console.WriteLine(«Ismingizni kiriting: «); //string tipida qiymat qaytadi ism = Console.ReadLine(); } } } Console.ReadLine() bilan ma’lumotlarni faqat string tipida olishimiz mumkin. Masalan int tipida son kiritmoqchi bo’lsak uni … Читать далее