public String getName() {int separatorIndex = path.lastIndexOf(separator);return (separatorIndex < 0) ? path : path.substring(separatorIndex + 1, path.length());}

public string getName(){int separatorIndex = path.LastIndexOf(separator);return (separatorIndex < 0) ? path : Sharpen.StringHelper.Substring(path, separatorIndex+ 1, path.Length);}
