public static void Main()
Console.WriteLine("Hello World");
public static void Permutation(string txt = "RAVI", string prefix = "")
if (string.IsNullOrEmpty(txt))
Console.WriteLine($"prefix-{prefix}");
for (int i = 0; i < txt.Length; i++)
Permutation(txt.Remove(i, 1), prefix + txt[i]);