public class me { private string[] roses; private string[] violets; private string love; public me(string[] rColours; string[] vColours) { this.roses = rColours; this.violets = vColours; } private bool checkRoses(string colour) { foreach (string rose in this.roses) { if (rose != colour) { return false; } } return true; } private bool checkViolets(string colour) { foreach (string violet in this.violets) { if (violet != colour) { return false; } } return true; } public bool love(string name, bool sugarSweet) { if (checkRoses("red") && checkViolets("blue")) { if (sugarSweet == true) { this.love = name; } } } }