dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.28k stars 5.91k forks source link

Mention DateOnly possibility in place of DateTime - update to indexers article #34187

Open mahab339 opened 1 year ago

mahab339 commented 1 year ago

Change ( .NET doesn't include a date-only type. Developers use the DateTime type, but use the Date property to ensure that any DateTime object from that day are equal.) to (While .NET introduces DateOnly type, this example uses the DateTime type, and uses...).


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

BillWagner commented 1 year ago

Thanks for noting this We will update this article to include the new capabilities.