how to download file from url using csharp

Code Example - how to download file from url using csharp

                
                        using (var client = new WebClient())
{
    client.DownloadFile("http://example.com/file/song/a.mpeg", "a.mpeg");
}