Using the Int32
type requires a namespace reference to System
, or fully qualifying (System.Int32
). I tend toward int
, because it doesn't require a namespace import, therefore reducing the chance of namespace collision in some cases. When compiled to IL, there is no difference between the two.