Windows Presentation Foundation (WPF) c# code not showing code coverage in SQ dashboard though unit tests success

I am a bit puzzled.

You need to generate the code coverage reports using a code coverage tool.

You can find instructions to do that here: [Coverage & Test Data] Generate Reports for C#, VB.net