Skip to end of metadata
Go to start of metadata

part of the Boo Language Guide

Using .NET Generics in Boo

Declaring references to generic types
  • include foo* for IEnumerable<foo>
Generic method invocation
Defining generic types
  • Generic classes
  • Generic methods

H5. Generic constraints

  • No labels

1 Comment

  1. Using generics: x = ClassName[of sometype](ctor_params...)

    Ex:

    x = List[of string]()

    x.Add("Hello")

    x.There("Hello")