25th May 202125th May 2021Steve Gordon.NET 6 In .NET 6 (preview 4), two long-awaited types have been introduced as part of the core library. DateOnly and TimeOnly allow developers to represent either the date or time portion of a DateTime. These two new types are structs (value types) and may be used when your code deals with date or time concepts independently. Both types can be found in the System namespace. Using these new types may align well with how databases allow similar data to be represented. ...

Tagi: dotnet6
Dziel się z innymi:
Using DateOnly and TimeOnly in .NET 6 - Steve Gordon - Code with Steve

Inne 1273 dni, 3 godziny, 52 minuty temu Piotr Stapp 87 pokaż kod licznika zwiń

Wczytywanie artykułów...