var floored = (int) Math.Floor(1.999);
$ dotnet add package -h
package
Add a NuGet package reference to the project.
Usage:
dotnet [options] add [<PROJECT>] package [<PACKAGE_NAME>]
Arguments:
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current
directory for one. [default: C:\Users\Vabka\]
<PACKAGE_NAME> The package reference to add.
Options:
-v, --version <VERSION> The version of the package to add.
-f, --framework <FRAMEWORK> Add the reference only when targeting a specific framework.
-n, --no-restore Add the reference without performing restore preview and compatibility check.
-s, --source <SOURCE> The NuGet package source to use during the restore.
--package-directory <PACKAGE_DIR> The directory to restore packages to.
--interactive Allows the command to stop and wait for user input or action (for example to
complete authentication).
--prerelease Allows prerelease packages to be installed.
-?, -h, --help Show help and usage information
// Source string
T`Formatted "string". `;
// Typografed string
// Tagged template with tag `T` is converted to a regular template literal
`Formatted “string”.`;
Можно пожалуйста подробнее этот пункт.
var dictionary=new Dictionary<string, Entry>();
foreach(var entry in entries)
dictionay.Add(entry.Id, entry);
record Entry(string Id, DateTime Date, string? Type=null, int? TimeToCreate=null);