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 October 8th, 2006, 11:02 PM
Authorized User
 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default 2D Linked List

I'm writing a program that implements a 2D Linked List. When the user clicks, the program gathers 10 items and stores them into a 1D Linked List. The form then resets and the user can create another 1D Linked List over and over again. I want to connect all the lists into a 2D Linked List called 'table'. The problem I'm having is where to create my one 'table'.

If I put it in the Button Click function, it obviously creates a new table each time the button is clicked which is no good. I need a way to make it global to the program so that each time the user clicks, a new list is made and then added to the one global table. C# of course does not permit globals. Ideas??






Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked List? pmcizhere Java Basics 2 March 6th, 2008 09:02 PM
Linked List Implementation shah123 C# 0 April 17th, 2007 09:20 AM
C# Object Linked List millsbruce C# 5 July 12th, 2005 04:15 PM
Linked List....!!! amahja56 C++ Programming 4 April 6th, 2004 01:05 PM





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