Hi,
Please help me get last character from a string in C# .Net
Thanks
This way
string name = "Mudassar"; string lastChar = name.ToCharArray()[name.ToCharArray().Length - 1].ToString();
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.