Click here to Skip to main content
15,895,256 members

Comments by werfog (Top 12 by date)

werfog 14-Nov-12 8:24am View    
Here http://java2s.com/Code/CSharpAPI/System.Text.RegularExpressions/Regex.htm
you may find something useful.
werfog 14-Nov-12 7:21am View    
I would do that next way.
Surround MyMethod with try-catch and
catch(Exception ex) { MessageBox("MyMethod's StringNumber"); }
That shows the user necessary information.
If I understand you correctly.
Best wishes.
werfog 14-Nov-12 6:34am View    
Do you want to debug your code on your own or you want user to debug that?
werfog 13-Nov-12 22:41pm View    
If the code has been already compiled I guess that is impossible to find method position in code.
If you have just document aaa.cs. You can do something like that:
String s = ... (get text from document)
s.IndexOf("MyMethod");
That return the first index of searched string.
Be successful.
werfog 13-Nov-12 11:01am View    
I voted your answer 4 because your code looked more classical then author's one.
Just 4 because you seem to be a professional in programing.
Best wishes.