public List <string> GetGesturesAsList() { string [] acts = null; if (Gesture != null && Gesture.Contains(" ")) { acts = Gesture.Split(' '); } if (acts == null) { acts = new string[] { Gesture } } ; List <string> result = new List <string> (); if (acts != null && acts.Length > 0) { foreach (string s in acts) { result.Add(s); } } return(result); }