Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Set Get
//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; using System.Globalization; using System.Threading; namespace Rextester { public class Rectancle { public int Length {get;set;} public int Height {get;set;} public void Grow(int length,int height){ Length += length; Height += height; } } public class Program { public static void Main(string[] args) { Rectancle r = new Rectancle(); r.Length = 5; r.Height = 10; r.Grow(10,10); Console.WriteLine ("Lenght Data : "+ r.Length.ToString()); Console.WriteLine ("Lenght Data : "+ r.Height.ToString()); } } }
run
|
edit
|
history
|
help
0
Sum of digits in a string
ElaineBrown
sdfgtfgb
15
Unity Character Controller Version 2
Simple Overriding
Math 10.5 (Added simult 4x4)
iMacPro
12
DotnetQ6