📅  最后修改于: 2022-03-11 14:49:04.531000             🧑  作者: Mango
public static string ToReverseString(this string value)
{
return string.Join("", value.Reverse());
}
public static string SubstringReverse(this string value, int indexFromEnd, int length)
{
return value.ToReverseString().Substring(indexFromEnd, length).ToReverseString();
}