Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 14th, 2005, 07:02 AM
Registered User
Join Date: Oct 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Collection in C# ?

i have sample code in VB.Net, some code make me ;( when i want to change in VC# code : iam beginning...

Dim s As Integer
Dim j As Integer
Dim G As Byte
Public data(255) As Collection
data(G) = New Collection()
s = data(G).Item(j + 1).features


Old January 14th, 2005, 04:51 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Are you looking for something like this?

int s;
int j;
byte G;
public Collection data[255];
data[G] = new Collection();
s = data[G].Item[j + 1].features;

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anybody help? Collection in C# naveenj .NET Framework 2.0 4 July 15th, 2007 09:34 PM
How to get the collection of forms ramesh_cnj .NET Framework 1.x 0 February 27th, 2006 08:47 AM
COM Collection ben0027 Visual C++ 0 May 1st, 2004 05:19 AM
Help collection gone MikeB VS.NET 2002/2003 2 June 12th, 2003 02:33 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.