Segna il video come già completato  
Se vuoi, sarebbe utile un giudizio su questo video    
In questo video vedremo un'importante overload del metodo Path.Combine. Questo metodo infatti consentiva di utilizzare soltanto due parametri che rappresentavano i due percorsi da combinare per cui esempio potevamo fare il Path.Combine di C:\program files con il percorso "Microsoft Visual studio 10". Vediamo. Naturalmente si genera un errore se non mettiamo il doppio slash oppure il carattere chiocciola ecco qua questo risultato è il Path.combine tradizionale che era presente in Visual studio 2008. Adesso abbiamo la possibilità di utilizzare tre nuovi overload che permettono di aumentare il numero di parametri utilizzabili. Ad esempio possiamo aggiungere a questo percorso è un'altra sottocartella per cui andiamo in fondo ed aggiungiamo il terzo parametro. Torniamo ad eseguire questo codice ed ecco che abbiamo la combinazione delle tre sottodirectory. Possiamo utilizzare anche l'overload successivo che si permette di usare un array invece che quattro parametri per cui possiamo aggiungere un'altra directory, per cui andiamo dentro a questa cartella. Andiamo in fondo, aggiungiamo anche l'ultima cartella, lanciamo il codice e vediamo che è stata aggiunta in fondo al percorso che è stato generato dal metodo Path.Combine. Ancor più interessante e nell'ultimo overload di questo metodo Path.Combine che ci consente di utilizzare un solo parametro e che rappresenta un array di stringhe. Ad esempio, invece di utilizzare una sintassi di questo tipo con quattro parametri potremo mettere in un array questi parametri e poi chiamare il metodo Path.Combine sull'array che abbiamo appena creato. Vediamo di fare subito un esperimento creiamo quindi un array di stringhe, lo chiamiamo "percorso" sarà nuovo array di stringhe composto "C:\Program files" e poi da "Microsoft Visual studio 10.0". Poi andando avanti con Common7 sono aggiungere righe e per dimostrare che questo overload è ancora più utile e ancora più conveniente di tutti gli altri proprio perché ci consente di estendere il numero di parametri e quindi il numero di directory che possono essere utilizzate nella combinazione. Andiamo avanti e aggiungiamo anche la cartella 1033 in fondo all'elenco delle cartelle per cui andiamo a commentare questa riga e la sostituiamo con Console.WriteLine che la è sempre del metodo Path.combine ma invece di esplicitare i percorsi da combinare andiamo all'array che abbiamo creato in precedenza, lanciamo questo codice nuovamente ed effettivamente vediamo risultato che ci aspettavamo per cui in definitiva i nuovi overload del metodo Path.combine, invece consentono di estendere oltre ai due parametri che aveva un prima e la concatenazione di directory e l'ultimo overload consente di utilizzare un array di stringhe e ci consente di andare all'infinito nella combinazione delle directory che desideriamo.
In this video we will see a major Path.Combine method overload. This method in fact allowed to use only two parameters that represent the two paths could be combined so as to make the Path.Combine C: \ program files with the path "Microsoft Visual Studio 10." Let's see. Of course, it generates an error if we do not put the double slash or hyphen snail Here this result is the traditional Path.combine that was present in Visual Studio 2008. We now have the possibility to use three new overloads that allow you to increase the number of parameters used. For example we can add to this route is another folder for which we are at the bottom and add the third parameter. Let's go back to run this code and here we have the combination of the three subdirectories. We can also use the following overload that allows you to use an array instead of four parameters that we can add another directory, so we go inside this folder. Come on down, we add the last folder, launch the code and see what was added in the bottom of the path that was generated by the Path.Combine method. Even more interesting and last Path.Combine overload of this method that allows us to use a single parameter that represents an array of strings. For example, instead of using a syntax like this with four parameters we can put these parameters into an array and then call the Path.Combine method on the array we just created. Let's do an experiment now and then we create an array of strings, we call this "path" will be the new array of strings made up of "C: \ Program files" and then on "Microsoft Visual Studio 10.0." Then they are going ahead with Common7 add rows and to show that this overload is even more useful and more convenient than any other because it allows us to extend the number of parameters and therefore the number of directories that may be used in combination. Go ahead and add also the 1033 folder in the bottom of the list of folders to which we are going to comment on this line and replace it with Console.WriteLine that the method is always Path.combine but instead to explain the route we want to combine array that we created above, run this code again and actually see the results we hope that ultimately the new method overload Path.combine instead can extend beyond the two parameters that had a before and concatenation of the directory and ' Last overload allows you to use an array of strings, and allows us to go to infinity in the combination of the directory we want.