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.
30 lines
491 B
30 lines
491 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ex_042_004_Keys_conventions
|
|
{
|
|
public class Cylon
|
|
{
|
|
public int CylonId
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public int Generation
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Cylon {CylonId}: {Name}, Number {Generation}";
|
|
}
|
|
}
|
|
}
|