What, if any, would be the performance difference between these?
/// option 1
string result = data.Split('.').Last<string>();
/// option 2
string[] parts = data.Split('.');
string result = data[data.Length-1];
/// option 3
string result = data.Substring(data.LastIndexOf('.')+1);
Assume that data is a string in the format of part1.part2.part3.
Edit
This is really more idle curiosity than anything else. I haven't cracked open reflector to see what's happening inside of LINQ, but I don't see how it could be faster than direct array manipulation. Thanks for the tips.