Collections in C#
- by Oghenero
am converting a vb.net component to c#, i get this error
Using the generic type 'System.Collections.ObjectModel.Collection<T>' requires '1' type arguments
This is what i did
in VB.NET i had this
Private _bufferCol As Collection
i did this in c#
private Collection _bufferCol = new Collection();
My declaration is
using Microsoft.VisualBasi;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Collections.ObjectModel;
Can any body help me please.