Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
D16
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Overload { private string name = "Akhil"; public void Display() { Display2(ref name, ref name); System.Console.WriteLine(name); } private void Display2(ref string x, ref string y) { System.Console.WriteLine(name); x = "Akhil 1"; System.Console.WriteLine(name); y = "Akhil 2"; System.Console.WriteLine(name); name = "Akhil 3"; } } class Program { public static void Main(string[] args) { Overload overload = new Overload(); overload.Display(); //Console.ReadKey(); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Zadanka
Капча
Math Main
ObjectPool
C# Abstract class and method
Area and Parameter of Circle
encryption
an attempt at making a usable code thing
Explicit Interface Implementation
Prime
Please log in to post a comment.