This is really testing “there’s no such thing as a stupid question”
Here is the console code:
class Program {
static void Main(string[] args) {
myClass cl = new myClass();
cl.myMethod("world");
Console.WriteLine("press [enter] to exit");
Console.ReadLine();
}
}
public class myClass {
public void myMethod(string x) {
Console.WriteLine("hello {0}", x);
}
}
If I press F10 and step into Main and then keep pressing F10 why does it not step into myClass ?
Can I change my settings so it steps into other called classes?
The F11 option will work (right way to step into).
You can also set breakpoint in the class you want to step into and that will also work.