none
C# 6.0 problem

    Question

  • I copied a c# project from Visual Studio 2013 to Visual Studio 2015. I tried a C# 6.0 operator nameof, but it does not compile.
    RaisePropertyChanged(nameof acos );
    What am I doing wrong?

    Certified Geek


    • Edited by Arne MN Monday, December 14, 2015 3:10 PM
    Monday, December 14, 2015 3:09 PM

Answers

  • Use parenthesis: nameof(acos), or show the code and the error message.

    • Marked as answer by Arne MN Monday, December 14, 2015 5:44 PM
    Monday, December 14, 2015 5:18 PM