Guest User

What does fields in method table mean in this example

a guest
Feb 22nd, 2012
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. class MyClass
  2. {
  3. private int x = 60;
  4. private int y = 90;
  5.  
  6. public void MethodB()
  7. {
  8. Console.WriteLine("MethodB");
  9. }
  10.  
  11. public void MethodC()
  12. {
  13. Console.WriteLine("MethodC");
  14. }
  15.  
  16. public void MethodA()
  17. {
  18. GetHashCode();
  19.  
  20.  
  21. Monitor.Enter(this);
  22.  
  23. Console.WriteLine("Attach debugger now");
  24. Console.ReadKey();
  25. }
  26.  
  27.  
  28. static void Main(string[] args)
  29. {
  30. MyClass mc = new MyClass();
  31. mc.MethodA();
  32. }
  33. }
  34.  
  35. !sos.dumpmt 001f3310
Add Comment
Please, Sign In to add comment