using System; namespace Yavsc.Model.FrontOffice.Catalog { /// /// Select item. /// public class SelectItem { /// /// Initializes a new instance of the class. /// /// T. public SelectItem(string t) { Value = t; } /// /// Gets or sets the value. /// /// The value. public string Value { get; set; } /// a SelectItem. public static implicit operator string(SelectItem t) { return t.Value; } /// a string. public static implicit operator SelectItem(string t) { return new SelectItem(t); } } }