// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using System.Collections.Generic; namespace Demo.Common { [Serializable] public class Employee { public int Id { get; set; } public String Name { get; set; } public String Job { get; set; } public override string ToString() { return "(" + Id + "," + Name + "," + Job + ")"; } } public interface IEmployeeService { List GetAllEmployees(); Employee GetEmployeeById(int id); } }