DateOnly and TimeOnly in .NET 6
Two long-awaited types have been added to the core library in.NET 6 (preview 4). Developers can use DateOnly and TimeOnly to express either the date or time element of a DateTime. These two new types are structs (value types) and can be used when you...
nandkishor.hashnode.dev3 min read