Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Fagro Fagro

🎯
Focusing
Block or report user

Report or block Fagro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Fagro
Fagro / Immutable classes C#
Created Sep 25, 2018
Immutable classes C#
View Immutable classes C#
extracted from : https://stackoverflow.com/questions/38575646/general-purpose-immutable-classes-in-c-sharp
class Program
{
static void Main(string[] args)
{
var immutable1 = new A(3, 4, new Batida(name: "juan", lastname: "Doe"));
var immutable2 = immutable1.With( Batida: new Batida("Roger", "Tan"));
You can’t perform that action at this time.