0

I'm wondering if it is possible to use c# language features in ASP.Net Markup (*.aspx and *.ascx files) which were released after version 5.0. Is there a possibility to declare the markup language version in the header area of an aspx page?

I want to us the null propagation operator and getting following error:

Feature 'null propagating operator' is not available in C# 5. Please use language version 6 or greater. 
Gerrit Horeis
  • 541
  • 5
  • 14

0 Answers0