Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Immutable
//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 ImmutableRectancle { int Length {get;} int Height {get;} public ImmutableRectancle Grow(int length,int height){ Length = length; Height = height; } public ImmutableRectancle Grow(int length,int height) => new ImmutableRectancle Grow(int Length+length,int Height+height); } public class Program { public static void Main(string[] args) { ImmutableRectancle r = new ImmutableRectancle(5,10); r.Grow(10,10); } } }
run
|
edit
|
history
|
help
0
jdiwnnx cf
30272 Program Ex1
Find the value of a specific span in an html script
Program 1
Plt-D v.0.9.3
dfg reter ter ertert
C# managing ISO 8601 dates and times
Armstrong
combine paths
xddd