Click here to Skip to main content
15,508,644 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
roman_s19-Jul-10 10:47
roman_s19-Jul-10 10:47 
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
Luc Pattyn19-Jul-10 10:58
sitebuilderLuc Pattyn19-Jul-10 10:58 
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
roman_s19-Jul-10 11:52
roman_s19-Jul-10 11:52 
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
Luc Pattyn19-Jul-10 12:22
sitebuilderLuc Pattyn19-Jul-10 12:22 
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
DaveyM6919-Jul-10 11:02
professionalDaveyM6919-Jul-10 11:02 
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
roman_s19-Jul-10 11:46
roman_s19-Jul-10 11:46 
AnswerRe: Creating a function using Dictionary and Datetime help?? Pin
Luc Pattyn19-Jul-10 12:15
sitebuilderLuc Pattyn19-Jul-10 12:15 
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
roman_s20-Jul-10 4:35
roman_s20-Jul-10 4:35 
Hi Luc,

I tried the above code, just trying to debug the last line
if (strcmp(curr.Substring(0,curr.LastIndexOf('_')), next.Substring(0,next.LastIndexOf('_'))!=0) {

strcmp is a c++ concept, is that similiar to StringComparer?

also my ide complains !=0 that it cannot be applied to an int and a string. Tried playing around with the brackets and to no function.

let me know what I can do.
GeneralRe: Creating a function using Dictionary and Datetime help?? Pin
Luc Pattyn20-Jul-10 5:22
sitebuilderLuc Pattyn20-Jul-10 5:22 
Questiongeneric List - Remove Duplicates Pin
Kevin Marois19-Jul-10 8:15
professionalKevin Marois19-Jul-10 8:15 
AnswerRe: generic List - Remove Duplicates Pin
Ennis Ray Lynch, Jr.19-Jul-10 8:20
Ennis Ray Lynch, Jr.19-Jul-10 8:20 
GeneralRe: generic List - Remove Duplicates Pin
Kevin Marois19-Jul-10 8:22
professionalKevin Marois19-Jul-10 8:22 
GeneralRe: generic List - Remove Duplicates Pin
DaveyM6919-Jul-10 8:56
professionalDaveyM6919-Jul-10 8:56 
AnswerRe: generic List - Remove Duplicates Pin
Luc Pattyn19-Jul-10 11:36
sitebuilderLuc Pattyn19-Jul-10 11:36 
QuestionImplementing database roles on menu and button level Pin
DotNetXenon19-Jul-10 7:30
DotNetXenon19-Jul-10 7:30 
AnswerRe: Implementing database roles on menu and button level Pin
Pete O'Hanlon19-Jul-10 7:49
mvaPete O'Hanlon19-Jul-10 7:49 
GeneralRe: Implementing database roles on menu and button level Pin
DotNetXenon19-Jul-10 9:13
DotNetXenon19-Jul-10 9:13 
GeneralRe: Implementing database roles on menu and button level Pin
Pete O'Hanlon19-Jul-10 10:49
mvaPete O'Hanlon19-Jul-10 10:49 
QuestionHow can you add a click event in the text box, C# , asp.net Pin
emmadahmad19-Jul-10 7:19
emmadahmad19-Jul-10 7:19 
AnswerRe: How can you add a click event in the text box, C# , asp.net Pin
Pete O'Hanlon19-Jul-10 7:40
mvaPete O'Hanlon19-Jul-10 7:40 
AnswerRe: How can you add a click event in the text box, C# , asp.net Pin
brunoseixas19-Jul-10 7:56
brunoseixas19-Jul-10 7:56 
QuestionDeclaring variables inside loops - inefficient? Pin
Adam Brown 319-Jul-10 6:19
Adam Brown 319-Jul-10 6:19 
AnswerRe: Declaring variables inside loops - inefficient? Pin
riced19-Jul-10 6:27
riced19-Jul-10 6:27 
AnswerRe: Declaring variables inside loops - inefficient? Pin
harold aptroot19-Jul-10 6:29
harold aptroot19-Jul-10 6:29 
AnswerRe: Declaring variables inside loops - inefficient? Pin
Ennis Ray Lynch, Jr.19-Jul-10 6:35
Ennis Ray Lynch, Jr.19-Jul-10 6:35 

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.