C# .NET - Asynchronous method in c# debug - Asked By anbu n on 22-Apr-14 09:53 PM

i have implemented asynchronous method in c# using begin invoke,end invoke.

here the scenario is before main save to DB, there occurs a method called log which saves to DB ,Here i want main save to occur bit faster because , client
won't be seeing method log save to DB. so i made method log asynchronous assuming that log method will running in background and main save method also runs.

is my understanding correct here ? also i want to know how to debug asynchronous method, because debugging happens like synchronous function like method log executed first then main save gets executed.