how do i write a async class like WebClient?
Is there anyway i can keep it short and does not have to repeat it for every method?
for example, i have:
Download(string a)
Download(string a, string b)
do i have to rewrite Async + Complete method for each of these?
Thank you very much.
Use MethodInvoker.BeginInvoke to call a new thead.