aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TEMP/Tango.Graphics2D/Person.cs
blob: db309f569bdbb995dde8cde2d79e5a85d4c05852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace Tango.Graphics2D
{
    public class Person
    {
        private static Random _rnd = new Random();

        public String Name { get; set; }

        public int Age { get; set; }

        public Color Color { get; set; }

        public Person()
        {
            Color = Color.FromRgb((byte)_rnd.Next(0, 255), (byte)_rnd.Next(0, 255), (byte)_rnd.Next(0, 255));
        }
    }
}