Размером от 700 до 2000
var text = @"pr_fp=ea4b83cce35fe5dc744ef485372f1cdeec8862e546fc4ce353e309b5a88351d9
wasm=b1a91e0252cc91a33cb489f2f0ca5b06
rcid=111a5116-d8cd-405d-9c74-7776cba81515
";
var dict = text
.Split(new []{'\n', '\r'}, StringSplitOptions.RemoveEmptyEntries)
.Select(x=>x.Split('=', 2))
.ToDictionary(x=>x[0], x=>x[1]);
var wasm = dict["wasm"];
Console.WriteLine(wasm); //b1a91e0252cc91a33cb489f2f0ca5b06
С точки зрения лицензии можно ли использовать шрифт из линукс для создания другого шрифта на его основе?
Как узнать кто является правообладателем данного шрифта?
Configuration = new ConfigurationBuilder()
.AddJsonFile("appsettings.json")
.AddEnvironmentVariables()
.Build();
public Startup(IConfiguration configuration) =>
Configuration = configuration;
public IConfiguration Configuration { get; }
Configuration.Get<AppSettings>();
в одном проекте с .net core добавить react или разными это делать?
А если в коде контроллера нет вызова асинхронных методов, будет ли какая-то разница?
Или может быть имеет смысл этот код без асинхронных вызовов обернуть в таск и авейтить его, сделав метод контроллера асинхронным?
Do not:
- Block asynchronous execution by calling Task.Wait or Task.Result.
- Acquire locks in common code paths. ASP.NET Core apps are most performant when architected to run code in parallel.
- Call Task.Run and immediately await it. ASP.NET Core already runs app code on normal Thread Pool threads, so calling Task.Run only results in extra unnecessary Thread Pool scheduling. Even if the scheduled code would block a thread, Task.Run does not prevent that.
double x1;
Console.Write("Введите x1: ");
if(!double.TryParse(Console.ReadLine(), out x1)) {
do {
Console.WriteLine("неправильный ввод");
Console.Write("введите x1: ");
} while(!double.TryParse(Console.ReadLine(), out x1));
}
var msg = x.Compare(x1) switch {
-1 => $"{x} < {x1}",
0 => $"{x} = {x1}",
+1 => $"{x} > {x1}"
};
Console.WriteLine(msg);
source.pas(2,16) Error: Identifier not found "intenger"
source.pas(4,3) Error: Identifier not found "readin"
source.pas(5,8) Fatal: Syntax error, "THEN" expected but "ELSE" found
Program zl;
var a, b, max: Integer;
begin
readln(a,b);
if a < b then
max := b //Да. Никакой точки с запятой тут быть не должно.
else
max := a;
writeln('max=', max);
end.
Прошу не писать о декомпеляторах!
Я хочу стать крякером
Почему во всех БД — если хранимые процедуры не на SQL, то на Lua?