How can I wait for a method to finish using C#?
I assume you are asking how to wait for a Code executing on another Thread in your main Thread . For that purpose Thread.Join() method will do what you want.
(A nice tutorial on how to do Multithreading.)