// Overrides the ConvertFrom method of TypeConverter. public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { if (value is string) { int16 result = short.Parse((string)value); return(result); } return(base.ConvertFrom(context, culture, value)); }
/* comment after function * Hello! */ // Test function private static void test(@int a, int16 b, slice <@byte> c) { fmt.Println(a); }
public Movie(){titulo = "n/a",año = "n/a", pais = "n/a",director = "n/a";}
public void SetAño(string a){año = a;}
public Movie (int16 año) {this.año=an;}
public pelicula() { titulo = "n/a", años = "n/a", pais = "n/a", director = "n/a"; }