Click here to Skip to main content
14,605,006 members
   

C#

 
AnswerRe: WebCamLib Problem Pin
saurabh sahay11-Jun-09 5:47
Membersaurabh sahay11-Jun-09 5:47 
QuestionHow to create the winform with code not by the guide (project-->add-->windows Form) at desgin-time in c#? Pin
mctramp1689-Jun-09 15:39
Membermctramp1689-Jun-09 15:39 
AnswerRe: How to create the winform with code not by the guide (project-->add-->windows Form) at desgin-time in c#? Pin
Christian Graus9-Jun-09 15:45
mveChristian Graus9-Jun-09 15:45 
GeneralRe: How to create the winform with code not by the guide (project-->add-->windows Form) at desgin-time in c#? Pin
mctramp1689-Jun-09 16:32
Membermctramp1689-Jun-09 16:32 
GeneralRe: How to create the winform with code not by the guide (project-->add-->windows Form) at desgin-time in c#? Pin
Christian Graus9-Jun-09 17:09
mveChristian Graus9-Jun-09 17:09 
QuestionHow to cast to a type stored in a field Pin
redivider9-Jun-09 12:20
Memberredivider9-Jun-09 12:20 
AnswerRe: How to cast to a type stored in a field Pin
Christian Graus9-Jun-09 12:40
mveChristian Graus9-Jun-09 12:40 
AnswerRe: How to cast to a type stored in a field Pin
Nooner9-Jun-09 14:43
MemberNooner9-Jun-09 14:43 
redivider, to get data out of the dictionary you have to give it the key. In a dictionary, the key is the first type whatever that is. So since you are using an int, then the integer value that you entered must exist in your dictionary, else it will be null.

For a list, this is completely different from a dictionary, and you can just sellect the first field or [0].

int key = 39292;
String testObj = "Hello I'm a string";
object value = (object)testObj;
so in your example... _BlobData.add(key, value);
To get out the value... you have to put in the correct key...

String myOldDefinition = (String)_BlobData[key];
Console.Writeln("My old string = " + myOldDefinition);

HTH,
Marc

Life is too short to program in Visual Basic.

AnswerRe: How to cast to a type stored in a field Pin
Thomas Weller9-Jun-09 16:08
MemberThomas Weller9-Jun-09 16:08 
GeneralRe: How to cast to a type stored in a field Pin
redivider10-Jun-09 6:49
Memberredivider10-Jun-09 6:49 
QuestionLetter from Number generator Pin
Nooner9-Jun-09 11:17
MemberNooner9-Jun-09 11:17 
AnswerRe: Letter from Number generator Pin
Christian Graus9-Jun-09 11:21
mveChristian Graus9-Jun-09 11:21 
GeneralRe: Letter from Number generator Pin
Nooner9-Jun-09 13:25
MemberNooner9-Jun-09 13:25 
GeneralRe: Letter from Number generator Pin
Christian Graus9-Jun-09 14:27
mveChristian Graus9-Jun-09 14:27 
QuestionConfig files Pin
CodingYoshi9-Jun-09 11:04
MemberCodingYoshi9-Jun-09 11:04 
AnswerRe: Config files Pin
Christian Graus9-Jun-09 11:14
mveChristian Graus9-Jun-09 11:14 
AnswerRe: Config files Pin
Dave Kreskowiak9-Jun-09 12:32
mveDave Kreskowiak9-Jun-09 12:32 
GeneralRe: Config files Pin
CodingYoshi9-Jun-09 17:22
MemberCodingYoshi9-Jun-09 17:22 
GeneralRe: Config files Pin
CodingYoshi10-Jun-09 3:49
MemberCodingYoshi10-Jun-09 3:49 
QuestionPrevious result of a method call is remembered. Is this related with JIT compiler? Pin
bin_bin19-Jun-09 10:31
Memberbin_bin19-Jun-09 10:31 
AnswerRe: Previous result of a method call is remembered. Is this related with JIT compiler? Pin
Christian Graus9-Jun-09 10:43
mveChristian Graus9-Jun-09 10:43 
GeneralRe: Previous result of a method call is remembered. Is this related with JIT compiler? Pin
bin_bin19-Jun-09 11:52
Memberbin_bin19-Jun-09 11:52 
GeneralRe: Previous result of a method call is remembered. Is this related with JIT compiler? Pin
Christian Graus9-Jun-09 12:09
mveChristian Graus9-Jun-09 12:09 
AnswerRe: Previous result of a method call is remembered. Is this related with JIT compiler? Pin
Dr.Walt Fair, PE9-Jun-09 11:58
subeditorDr.Walt Fair, PE9-Jun-09 11:58 
QuestionSubmit a specific form in HTML page Pin
Fayu9-Jun-09 10:03
MemberFayu9-Jun-09 10:03 

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.