.net - Dealing with C# namespaces -


i working on project need ability download youtube videos. found project on github:

https://github.com/flagbug/youtubeextractor

my project has namespace. how import youtubeextractor project? need change namespace before (or after) importing it? or me, in case, advantages , disadvantages changing namespace vs. not changing it? using vs express 2012, if matters.

my project has namespace. how import youtubeextractor project?

you add reference external assembly (in particular case install nuget) , add using statement correct namespace (youtubeextractor) in classes defined.

so follow steps described on home page:

install-package youtubeextractor 

and then:

using youtubeextractor; 

and finally:

// our test youtube link string link = "insert youtube link";  /* * available video formats. * we'll work them in video , audio download examples. */ ienumerable<videoinfo> videoinfos = downloadurlresolver.getdownloadurls(link); 

Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -