CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

Reset array topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2007, 11:29 AM
coderzone's Avatar
Senior Member
 
Join Date: May 2007
Posts: 273
Thanks: 16
Thanked 12 Times in 12 Posts
coderzone is on a distinguished road
| More
Angry Reset array

string[] nth_string = new string[1000];

After they are no longer needed, How can I reset them as though the
program were just started?
Reply With Quote
  #2  
Old 03-11-2008, 11:25 PM
Junior Member
 
Join Date: Mar 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Statement is on a distinguished road
| More
Re: Reset array

string[] nth_string = new string[1000];
// use nth_string
nth_string = null;
// or re-initialize
nth_string = new string[1000];
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
1-dimensional array type double.....and....2-dimensional array styles8687 C++ Programming 2 01-01-2009 04:30 AM
C char array help! Dylan C Programming 1 07-31-2008 04:45 PM
Help with parallel array psppb C++ Programming 3 12-31-2007 07:14 AM
Gosh ! 2D int array trapeze C++ Programming 2 11-16-2007 05:47 AM
Is this the correct way to assign array value? radishcarrot C Programming 0 09-20-2006 08:53 AM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 02:02 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board