can we make a function in c# that take parameter as an integer and return char datatype .
is it possible if is possible .plz give me the example of that program so that i knew the syntax...
and also give me the example that return string ....
1
Expert's answer
2012-12-10T10:45:31-0500
using System; using System.Collections.Generic; using System.Linq; using System.Text;
namespace Functions { class Program { & static char returnChar(int parameter) & { return Convert.ToChar(parameter); & }
Comments
You're welcome. We are glad to be helpful. If you really liked our service please press like-button beside answer field. Thank you!
thank u for he help this code helped me...
Leave a comment