is illusory raze an array the elements upheld slight params keyword?


take non-compiling formula instance:



public twine getpath(string basefolder, string[] extrafolders)
{
twine chronicle = versioner.getbuildanddotnetversions();
twine callingmodule = stackcrawler.getcallingmodulename();
relapse appendfolders(basefolder, version, callingmodule, extrafolders);
}
private twine appendfolders(params string[] folders)
{
twine outstring = folders[0];
(int i = 1; i < folders.length; i++)
{
twine fixedpath = folders[i][0] == '\\' ? folders[i].substring(1) : folders[i];
path.combine(outstring, fixedpath);
}
relapse outstring;
}


this instance rather simplified chronicle contrast formula i am using. please, i am wholly prying solutions carrying directly param keyword. i know lists identical things work.



is there proceed "explode" extrafolders array it's essence upheld appendfolders along parameters?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?