public static string addActivity(List<string> _arr) { SBObj _sbobj = new SBObj(); _sbobj.Title = _arr[0].ToString(); _sbobj.Description = _arr[1].ToString(); _sbobj.Date = Convert.ToDateTime(_arr[2].ToString()); return _sbobj.AddActivity(); }