using System.Security.Cryptography.Xml;

public class TestRSAKey
{
public static void Main(string [] args) 
{
     RSAKeyValue rsa = new RSAKeyValue();
     
     string str = rsa.Key.ToXmlString(true);

     System.Console.WriteLine(str);
}
}