C# Get The Characters Before A Certain Character

string mart = "1-0900";
MsgBox.Information(mart.Split('-')[0]);