I am currently writing a C# program. There is an accompanying algorithm and I wish to show its lines of code being executed on a different panel at its point of execution.
For instance if this line is being called for execution:
SolidBrush drawBrush = new SolidBrush(Color.Tan);
Then it needs to be typed down or in an appropriate way shown on a panel.
Is there a way that I can achieve this?
Or
If there is a way that allows me to know the point of execution, that too would suffice.