C#
58
Вклад в тег
Install-Package Microsoft.CodeAnalysis.CSharp.Scripting
int result = await CSharpScript.EvaluateAsync<int>("14 - 15");
using (var reader = new BinaryReader(File.Open("<file path>", FileMode.Open)))
{
var value1 = reader.ReadDouble();
var value2 = reader.ReadDouble();
...
}
using (var bw = new BinaryWriter(File.Create("<file path>")))
{
double value1 = 2;
double value2 = 17950.015625;
bw.Write(value1);
bw.Write(value2);
}