Click here to Skip to main content
15,886,067 members
Home / Discussions / C#
   

C#

 
AnswerRe: rle or huffman c# Pin
Richard Andrew x6416-May-12 17:44
professionalRichard Andrew x6416-May-12 17:44 
Questionabout calculator in c# Pin
hanmantkendre16-May-12 10:32
hanmantkendre16-May-12 10:32 
AnswerRe: about calculator in c# Pin
Dave Kreskowiak16-May-12 12:07
mveDave Kreskowiak16-May-12 12:07 
AnswerRe: about calculator in c# Pin
PIEBALDconsult16-May-12 14:08
mvePIEBALDconsult16-May-12 14:08 
AnswerRe: about calculator in c# Pin
VJ Reddy16-May-12 17:14
VJ Reddy16-May-12 17:14 
AnswerRe: about calculator in c# Pin
Abhinav S16-May-12 19:48
Abhinav S16-May-12 19:48 
QuestionArray of Strings.... Pin
glennPattonWork316-May-12 2:00
professionalglennPattonWork316-May-12 2:00 
AnswerRe: Array of Strings.... PinPopular
Pete O'Hanlon16-May-12 2:03
mvePete O'Hanlon16-May-12 2:03 
First of all, why an array? Why not a List of strings?

Second, are the strings unique or are they just a well defined list that you could get some combination of? If it's a well known list, just assign an enumeration to the strings and return a list of those enumerations.

Alternatively, you could write a slightly more complex algorithm and use a Dictionary to keep the string, and a list of indexes where that string occur - and then decode this at the client end.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 2:13
professionalglennPattonWork316-May-12 2:13 
GeneralRe: Array of Strings.... Pin
Pete O'Hanlon16-May-12 2:38
mvePete O'Hanlon16-May-12 2:38 
GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 2:47
professionalglennPattonWork316-May-12 2:47 
GeneralRe: Array of Strings.... Pin
Pete O'Hanlon16-May-12 2:52
mvePete O'Hanlon16-May-12 2:52 
GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 2:56
professionalglennPattonWork316-May-12 2:56 
GeneralRe: Array of Strings.... Pin
JosephvObrien16-May-12 3:47
JosephvObrien16-May-12 3:47 
QuestionRe: Array of Strings.... Pin
Pete O'Hanlon16-May-12 4:00
mvePete O'Hanlon16-May-12 4:00 
GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 6:09
professionalglennPattonWork316-May-12 6:09 
GeneralRe: Array of Strings.... Pin
Pete O'Hanlon16-May-12 6:11
mvePete O'Hanlon16-May-12 6:11 
GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 6:18
professionalglennPattonWork316-May-12 6:18 
GeneralRe: Array of Strings.... Pin
PIEBALDconsult16-May-12 3:17
mvePIEBALDconsult16-May-12 3:17 
GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 3:26
professionalglennPattonWork316-May-12 3:26 
GeneralRe: Array of Strings.... Pin
Pete O'Hanlon16-May-12 3:44
mvePete O'Hanlon16-May-12 3:44 
AnswerRe: Array of Strings.... Pin
Luc Pattyn16-May-12 4:04
sitebuilderLuc Pattyn16-May-12 4:04 
GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 4:18
professionalglennPattonWork316-May-12 4:18 
AnswerRe: Array of Strings.... Pin
Luc Pattyn16-May-12 4:31
sitebuilderLuc Pattyn16-May-12 4:31 
GeneralRe: Array of Strings.... Pin
glennPattonWork316-May-12 4:34
professionalglennPattonWork316-May-12 4:34 

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.