Last part of error handling

This commit is contained in:
2019-01-10 16:43:48 +01:00
parent 5f7139c481
commit c6d41bf024

View File

@ -13,10 +13,8 @@ namespace Exceptionhandling
try
{
using(var streamreader = new StreamReader(@"c:\file.zip"))
{
var content = streamreader.ReadToEnd();
}
var api = new YouTubeApi();
var videos = api.GetVideos("nisse");
}
catch (Exception ex)
{