✅ Matrix multiplication in C#
Hello guys, sorry to disturb you all; I have an exercise where I need to perform matrix multiplication using 2D arrays. I try to implement the following code:
But it seems my logic is faulty because I'm not getting the required result. So basically, my code has some logic errors. What is the right way of knowing where my logic went wrong please.
3 Replies
The best way to find errors, is to use the debugger
It lets you observe values at any point, step through the code line by line, all the good stuff
$debug
Tutorial: Debug C# code and inspect data - Visual Studio (Windows)
Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data in a C# application.
yep noted, will just have a look how to use a debugger, thanks !!