I have a problem with calculate of ASCII value with exponent and modulus.
I want calculate ASCII value of "K" with RSA algorithm.

K in ascii value is 75

```
c   = m^e mod n
    = 75^41 mod 689
    = 316

```

Then how to make it into source code in C#? I got error "cannot implicity convert type".

this my source code

```
int n = 689;
int e = 41;
int d = 137;
string value = "K";

for (int i = 0; i < value.Length; i++)
{
    int c = (int)i;
    c = Math.Pow(i,e);
}
Console.ReadLine();

```