Again, I have got below code in VbScript, can you please suggest what will be equivalent code in C#.
Function GetNavID(Tit
Try:
if (NavigationId.StartsWith("S")) { NavigationId = NavigationId.Substring(1); int id; if (int.TryParse(NavigationId,out id)) { if (id > 0) { } } }