Click here to Skip to main content
15,902,893 members
Home / Discussions / C#
   

C#

 
GeneralUsing WINAPI methods... Pin
Amirjalaly9-Dec-03 23:59
Amirjalaly9-Dec-03 23:59 
GeneralRe: Using WINAPI methods... Pin
Heath Stewart10-Dec-03 3:27
protectorHeath Stewart10-Dec-03 3:27 
GeneralShut down the computer... Pin
Amirjalaly9-Dec-03 22:44
Amirjalaly9-Dec-03 22:44 
GeneralRe: Shut down the computer... Pin
Nick Seng9-Dec-03 22:50
Nick Seng9-Dec-03 22:50 
GeneralRe: Shut down the computer... Pin
Amirjalaly9-Dec-03 23:49
Amirjalaly9-Dec-03 23:49 
GeneralRe: Shut down the computer... Pin
Nick Seng10-Dec-03 0:19
Nick Seng10-Dec-03 0:19 
Generalcompare the contents inside ArrayList Pin
azusakt9-Dec-03 22:25
azusakt9-Dec-03 22:25 
GeneralRe: compare the contents inside ArrayList Pin
Nick Seng9-Dec-03 23:14
Nick Seng9-Dec-03 23:14 
Have you added newStr into final yet? If not, your expression will return false.

ArrayList.Contains function will only return true if you pass in the reference of an object that is within the arraylist. For example, if your code had been written like so:

....
ArrayList tempRef = str;
final.Add(str);
....


the expression final.Contains(tempRef) would return true.


HTH.



"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.

Support Bone
GeneralRe: compare the contents inside ArrayList Pin
azusakt10-Dec-03 14:55
azusakt10-Dec-03 14:55 
GeneralRe: compare the contents inside ArrayList Pin
Nick Seng10-Dec-03 15:57
Nick Seng10-Dec-03 15:57 
QuestionHow can i focus a perticular cell in DataGrid control Pin
KRathor9-Dec-03 19:49
KRathor9-Dec-03 19:49 
AnswerRe: How can i focus a perticular cell in DataGrid control Pin
Heath Stewart10-Dec-03 3:08
protectorHeath Stewart10-Dec-03 3:08 
GeneralRe: How can i focus a perticular cell in DataGrid control Pin
KRathor10-Dec-03 4:34
KRathor10-Dec-03 4:34 
GeneralRe: How can i focus a perticular cell in DataGrid control Pin
Heath Stewart10-Dec-03 4:56
protectorHeath Stewart10-Dec-03 4:56 
GeneralRe: How can i focus a perticular cell in DataGrid control Pin
11-Dec-03 7:12
suss11-Dec-03 7:12 
GeneralRe: How can i focus a perticular cell in DataGrid control Pin
Heath Stewart11-Dec-03 8:53
protectorHeath Stewart11-Dec-03 8:53 
QuestionHow to Print a form with controls in C# Pin
pahluwalia9-Dec-03 11:35
pahluwalia9-Dec-03 11:35 
AnswerRe: How to Print a form with controls in C# Pin
Heath Stewart9-Dec-03 17:12
protectorHeath Stewart9-Dec-03 17:12 
AnswerRe: How to Print a form with controls in C# Pin
Ruchi Gupta10-Dec-03 7:39
Ruchi Gupta10-Dec-03 7:39 
GeneralRe: How to Print a form with controls in C# Pin
pahluwalia12-Dec-03 3:13
pahluwalia12-Dec-03 3:13 
GeneralISynchronizeInvoke Pin
LokiSD9-Dec-03 9:20
LokiSD9-Dec-03 9:20 
GeneralRe: ISynchronizeInvoke Pin
Heath Stewart9-Dec-03 9:49
protectorHeath Stewart9-Dec-03 9:49 
GeneralImage Colour Depth Problem Pin
Tristan Rhodes9-Dec-03 7:20
Tristan Rhodes9-Dec-03 7:20 
GeneralRe: Accessing variables from the code behind page Pin
Heath Stewart9-Dec-03 6:34
protectorHeath Stewart9-Dec-03 6:34 
GeneralFileStream question Pin
Tim Kohler9-Dec-03 6:16
Tim Kohler9-Dec-03 6:16 

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.