Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Name と DateOfBirth 列のデータテーブルがあります。データテーブルにクエリを実行して、LINQ クエリを使用して Age を計算したいと考えています。
int Age = DateTime.Now.Year - BirthDate.Year