Konsoldan kirishlarni olish uchun siz Console.ReadLine () funksiyasidan foydalanishingiz kerak, u foydalanuvchi enter tugmasini kiritgandan so'ng qatorni qaytaradi. C# dasturining namunasida `yfinance` kutubxonasidan foydalangan holda foydalanuvchi tomonidan kiritilgan ticker belgisi bilan aksiya uchun variant ma'lumotlarini olish: ``` System yordamida; yfinance yordamida; nomlar maydoni StockOptions { class Program { static void Main(string[] args) { var ticker = Console.ReadLine(); var stock = Stock.Get(ticker ); var options = stock.Options; Console.WriteLine("$Options for stock with ticker symbol {ticker:"}); Console.WriteLine"----------------------------------------------------------------------------------------");
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence