locked
Equaliy Operator == is not working in Universal Windows RRS feed

  • Question

  • Hi ,

    Am trying to compare two objects of value as keyvaluepair using equality operator . The condition was set true in WPF and get false in Universal Windows.But using equal() get true in both WPF and UWP. Is the equality operator behave differ for WPF and UWP platform? can anyone please suggest your ideas?

    Thanks in Advance,

    Durga S


    Tuesday, February 14, 2017 4:37 AM

All replies


  • Hi Durgadevi,

    WPF: (Windows Presentation Foundation)
    Is a windows desktop framework within .Net Framework starting from v3.0. WPF uses XAML language for its UI drawing, and C# or VB.NET as a back-end programming language.

    UWP: (Universal Windows Platform)
    It's a new and evolved "universal" framework targeting Windows 10 (both Desktop & Phone). Universal windows apps are able to run on all devices running Windows 10 (PC, Mobile, Tablet, XBox...etc).

    Therefore, their code will be different. You need to adjust the code for different platforms.

    >>Equaliy Operator == is not working in Universal Windows

    I suggest you can visit the Developing Universal Windows apps forums for getting suitable help.

    You can include all necessary code snippets for anyone else to be able to reproduce your issue from scratch along with a detailed description about the results including any exception messages.

    Best Regards,

    Yohann Lu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, February 14, 2017 6:40 AM