Assignment 2 doubt

path.Combine(Environment.CurrentDirectory,in_ReportsDownloadPath,“Yearly-Reports-”+in_Year+"-"+in_TaxID+".xlsx")

can anyone explain this query?

@Mayur_Pawar

Hi, I don’t remeber assigment 2, but Path.Combine method is combining strings into a path, so in this example you will go something like : CurrentDirectory\in_ReportsDownloadPath\Yearly-Reports-in_Year-in_TaxID.xlsx file, where in_Year and In_TaxId will be replaced by values.

1 Like