Simplest way to do a fire and forget method in c# 4.0

Not an answer for 4.0, but worth noting that in .Net 4.5 you can make this even simpler with: #pragma warning disable 4014 Task.Run(() => { MyFireAndForgetMethod(); }).ConfigureAwait(false); #pragma warning restore 4014 The pragma is to disable the warning that tells you you’re running this Task as fire and forget. If the method inside the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)