Monthly Archives: May 2019

Interface out T vs T

The out keyword in generics is used to denote that the type T in the interface is covariant. check following code. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 … Continue reading

Posted in Uncategorized | Comments Off on Interface out T vs T

How to set Visual Studio support C# 7 features.

open visual studio and click on project and choose ‘Properties’ in ‘Build’ tab, choose ‘Advanced…’, check screen dump in language version, in dropdown list showing in screen dump, there is not ‘C#7’ and ‘C# 7.2’ for visual studio 2015 in … Continue reading

Posted in Uncategorized | Comments Off on How to set Visual Studio support C# 7 features.