عنوان:

‫چگونه از قابلیت‌های C# 13 در Visual Studio 2022 نگارش 17.12.0 استفاده کنیم؟


نویسنده: وحید نصیری
تاریخ: ۱۴۰۳/۰۸/۲۵ ۰۹:۱۲
آدرس: www.dntips.ir
Visual Studio 2022 (17.12.0) makes it look like the "field" keyword is usable. But it is only usable if you set the language version to "preview".

Note: this is specifically related to Visual Studio 2022 version 17.12.0 and .NET 9.0.100. I will keep an eye on future versions.

Quick Fix:
Set <LangVersion>preview</LangVersion> in the project settings.



مشاهده مطلب اصلی