Question: code maple to c#

Assuming I have a sumpro function written in Maple 2016. How can I implement it in C# and what is the process?

Please help me.

sumpro := proc (i) local a, b;

        a := (rand(1 .. 10))(); b := (rand(1 .. 10))();

        print("Sum of ", a, " and ", b, " is ", a+b)

end proc;

save sumpro, "D://Sumpro.m"

sumpro := proc (i) local a, b; a := (rand(1 .. 10))(); b := (rand(1 .. 10))(); print("Sum of ", a, " and ", b, " is ", a+b) end proc:
``

save sumpro, "D://Sumpro.m"

``

Download mapleprime_sumpro_to_c.mw

Please Wait...