How do I get everything after a certain index in string c#
https://stackoverflow.com/questions/2543273
Solution
Use String.Substring and String.LastIndexOf methods.
string str = "MyNamespace.SubNameSpace.MyClassName";
string str1 = str.Substring(str.LastIndexOf('.') + 1);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow