public static StringCollection Explode(string path)
{
int num2;
StringCollection strings = new StringCollection();
int startIndex = 0;
Label_0008:
num2 = path.IndexOf(SeparatorChar, startIndex);
if (num2 >= 0)
{
if (startIndex == num2)
{
strings.Add(Separator);
startIndex = num2 + 1;
}
else
{
strings.Add(path.Substring(startIndex, num2 - startIndex));
startIndex = num2;
}
goto Label_0008;
}
if (startIndex < path.Length)
{
strings.Add(path.Substring(startIndex));
}
return strings;
}