Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Readonly
//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 Program { readonly int x=10; readonly int y; readonly int j; //readonly int z= x+y; public Program(int x1) { x=x1; y=x; int z=x; j=z; Console.WriteLine(x); Console.WriteLine(y); Console.WriteLine(z); Console.WriteLine(j); } public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); Program p=new Program(100); } } }
run
|
edit
|
history
|
help
0
Пример применения необязательных аргументов
Classes, properties, methods, ling begining
c# integers
asdfsdgghjghkhj
Uri Parts
ProWIN2
adxsadxcasxsd
Extension Method Sample
Game Dev Challenge #1
example