static void Main(string[] args) { int a = 10, b = 20; method(ref a, ref b); console.writeline(a + " " + b); } static void swap(ref int i, ref int j) { int t; t = i; i = j; j = t; }
a) Call by reference
b) Call by value
c) Output parameter
d) parameter arrays
Which method does following C# code explains?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which method does following C# code explains?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!