FluentValidation bu - C# dasturida foydalanuvchidan olingan ma'lumotlarni mahsus qoidalar asosida tekshiradigan kutubhona
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.Extensions.Hosting; | |
| using Microsoft.Extensions.Logging; | |
| using Telegram.Bot; | |
| using Telegram.Bot.Polling; | |
| using Telegram.Bot.Types.Enums; | |
| namespace bot1; | |
| public class BotHostedService(ILogger<BotHostedService> logger, | |
| ITelegramBotClient botClient, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Console.Write(" Enter the price: "); | |
| var price = int.Parse(Console.ReadLine() ?? "0"); | |
| Console.Write(" Enter the strstegy: "); | |
| var namestrategy = Console.ReadLine()?.ToLower(); | |
| var strategies = new Dictionary<string, Func<double, double>>() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| template <typename T> | |
| class Node { | |
| public: | |
| T data; | |
| Node<T>* next; | |
| Node(T value) { |