int seconds = 900;
string fromTimeSpan = TimeSpan.FromSeconds(seconds).ToString(@"mm\:ss\:ff");
Console.WriteLine($"from TimeSpan: {fromTimeSpan}");
int justCalculatedMins = seconds / 60;
int justCalculatedSecs = seconds % 60;
Console.WriteLine($"calculated: {justCalculatedMins,0:D2}:{justCalculatedSecs,0:D2}"); memcpy(arr, new_arr, size*sizeof(int32_t));//копируем имеющиеся данныеL1: mov cx, 2
sub bx,ax
loop L1Нужно добавить Майкрософтовский репозиторий и все ставить через тот же dnf.
и более позднего в официальном репозитории Microsoft для Linux нет.
Для Fedora 36 есть - https://packages.microsoft.com/fedora/36/prod/
[pfemidi@pfemidi ~]$ dnf list --installed | grep dotnet
dotnet.x86_64 6.0.108-1.fc36 @updates
dotnet-apphost-pack-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-host.x86_64 6.0.8-1.fc36 @updates
dotnet-hostfxr-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-runtime-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-sdk-6.0.x86_64 6.0.108-1.fc36 @updates
dotnet-targeting-pack-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-templates-6.0.x86_64 6.0.108-1.fc36 @updates
[pfemidi@pfemidi ~]$