Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ref
//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 SampleClass { public string GetRefString(string refstring) { refstring="Before Call Calling Method, This is Chinna"; Console.WriteLine(refstring); CalledMethod(ref refstring); Console.WriteLine(refstring); return refstring; } public string CalledMethod(ref string Value) { Value="After Call Calling Method, This is Chanti" ; return Value; } } public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); SampleClass sc=new SampleClass(); sc.GetRefString("Hi"); } } }
run
|
edit
|
history
|
help
0
a
Program to print pyramid using numbers
Basket Default Swap Pricer
static, private, public constructor in C#
ShakerSort
concat
Test
edszfcfsefer
hello
1 through 1000