demo

public class Demo { public int MyFunction(ref int a) { return a = 90; } } public class Test { public static void Main() { Demo a = new Demo(); int r = 10; int r1=a.MyFunction(ref r); Console.WriteLine(r + r1); } }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.