You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mchsamples-.net-core/ex_023_011_EqualityProtocol.../VieuxNounours.cs

37 lines
794 B

// ========================================================================
//
// Copyright (C) 2016-2017 MARC CHEVALDONNE
// marc.chevaldonne.free.fr
//
// Module : VieuxNounours.cs
// Author : Marc Chevaldonné
// Creation date : 2016-09-29
//
// ========================================================================
namespace ex_023_011_EqualityProtocoleOnValues
{
struct VieuxNounours
{
public int Id
{
get;
private set;
}
public string Name
{
get;
private set;
}
public VieuxNounours(int id, string name)
{
Id = id;
Name = name;
}
//...
}
}