Click here to Skip to main content
15,868,016 members
Home / Discussions / C#
   

C#

 
Questionretrieving the flag value of one form in other Pin
preetpal23-Jul-08 0:00
preetpal23-Jul-08 0:00 
AnswerRe: retrieving the flag value of one form in other Pin
DaveyM6923-Jul-08 0:12
professionalDaveyM6923-Jul-08 0:12 
AnswerRe: retrieving the flag value of one form in other Pin
Elroy Dsilva23-Jul-08 0:57
Elroy Dsilva23-Jul-08 0:57 
QuestionGlade , monodevelop or sharpdevelop Pin
adnane22-Jul-08 23:58
adnane22-Jul-08 23:58 
AnswerRe: Glade , monodevelop or sharpdevelop Pin
Simon P Stevens23-Jul-08 1:57
Simon P Stevens23-Jul-08 1:57 
GeneralRe: Glade , monodevelop or sharpdevelop Pin
adnane24-Jul-08 9:37
adnane24-Jul-08 9:37 
GeneralRe: Glade , monodevelop or sharpdevelop Pin
Simon P Stevens24-Jul-08 10:34
Simon P Stevens24-Jul-08 10:34 
QuestionMAGIC: modifying a class memeber affects another member, HOW? Pin
Muhammad Gouda22-Jul-08 23:43
Muhammad Gouda22-Jul-08 23:43 
Here is the code:
public Document(string title, string source,string summery, string [] filesList, int noOfFiles)
		{
			this.title = title;
			this.source = source;
			this.summery = summery;
			this.noOfFiles = noOfFiles;
			this.filesList = filesList;
			this.pathsList = filesList;
			
			string [] temp; 
			
			for(int i=0; i<noOfFiles; i++)
			{
				temp = pathsList[i].Split('\\');
				this.filesList[i] = temp[temp.Length-1];
			}
		}

the array pathsList holds the full path of the files
the array filesList hold the abstract names of the files
As you see in the code, in the loop I update only the filesList
The MAGIC is, the pathsList is updated too
Can any why tell me how this happens?

Mohammed Gouda
foreach(Minute m in MyLife)
myExperience++;

AnswerRe: MAGIC: modifying a class memeber affects another member, HOW? Pin
leppie22-Jul-08 23:50
leppie22-Jul-08 23:50 
AnswerRe: MAGIC: modifying a class memeber affects another member, HOW? Pin
DaveyM6922-Jul-08 23:53
professionalDaveyM6922-Jul-08 23:53 
GeneralRe: MAGIC: modifying a class memeber affects another member, HOW? Pin
Muhammad Gouda22-Jul-08 23:56
Muhammad Gouda22-Jul-08 23:56 
AnswerRe: MAGIC: modifying a class memeber affects another member, HOW? Pin
PIEBALDconsult23-Jul-08 4:43
mvePIEBALDconsult23-Jul-08 4:43 
QuestionHow can i interact my window service with desktop application. Pin
wasimsharp22-Jul-08 23:25
wasimsharp22-Jul-08 23:25 
AnswerRe: How can i interact my window service with desktop application. Pin
Giorgi Dalakishvili22-Jul-08 23:43
mentorGiorgi Dalakishvili22-Jul-08 23:43 
AnswerRe: How can i interact my window service with desktop application. Pin
Mbah Dhaim22-Jul-08 23:51
Mbah Dhaim22-Jul-08 23:51 
AnswerRe: How can i interact my window service with desktop application. Pin
Ashfield23-Jul-08 1:25
Ashfield23-Jul-08 1:25 
QuestionWeb service to call business logic class Pin
Gktony22-Jul-08 23:20
Gktony22-Jul-08 23:20 
AnswerRe: Web service to call business logic class Pin
Harvey Saayman23-Jul-08 2:36
Harvey Saayman23-Jul-08 2:36 
GeneralRe: Web service to call business logic class Pin
Gktony23-Jul-08 2:49
Gktony23-Jul-08 2:49 
GeneralRe: Web service to call business logic class Pin
DaveyM6923-Jul-08 2:57
professionalDaveyM6923-Jul-08 2:57 
GeneralRe: Web service to call business logic class Pin
Harvey Saayman23-Jul-08 3:21
Harvey Saayman23-Jul-08 3:21 
AnswerRe: Web service to call business logic class Pin
Gktony23-Jul-08 5:21
Gktony23-Jul-08 5:21 
GeneralRe: Web service to call business logic class Pin
Pete O'Hanlon23-Jul-08 8:30
subeditorPete O'Hanlon23-Jul-08 8:30 
GeneralRe: Web service to call business logic class Pin
Gktony23-Jul-08 9:08
Gktony23-Jul-08 9:08 
QuestionBrowser Close Pin
Agweet22-Jul-08 22:46
Agweet22-Jul-08 22:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.