mirror of
https://github.com/Mister-Joe/PositiveIntent
synced 2026-06-21 13:44:54 +00:00
15 lines
365 B
C#
15 lines
365 B
C#
using System;
|
|
|
|
namespace PositiveIntent
|
|
{
|
|
public class StringHelper
|
|
{
|
|
// This function will reverse the string at runtime
|
|
public static string Reverse(string input)
|
|
{
|
|
char[] charArray = input.ToCharArray();
|
|
Array.Reverse(charArray);
|
|
return new string(charArray);
|
|
}
|
|
}
|
|
} |