Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: backup mysql database using c# Pin
Abhinav S13-Mar-12 20:00
Abhinav S13-Mar-12 20:00 
GeneralRe: backup mysql database using c# Pin
altafmohd13-Mar-12 21:43
altafmohd13-Mar-12 21:43 
GeneralRe: backup mysql database using c# Pin
Abhinav S13-Mar-12 23:47
Abhinav S13-Mar-12 23:47 
GeneralRe: backup mysql database using c# Pin
altafmohd14-Mar-12 0:00
altafmohd14-Mar-12 0:00 
GeneralRe: backup mysql database using c# Pin
altafmohd14-Mar-12 19:04
altafmohd14-Mar-12 19:04 
AnswerRe: backup mysql database using c# Pin
PIEBALDconsult14-Mar-12 5:26
mvePIEBALDconsult14-Mar-12 5:26 
QuestionDelphi to C# Pin
firepile13-Mar-12 11:02
firepile13-Mar-12 11:02 
AnswerRe: Delphi to C# Pin
Philippe Mori13-Mar-12 16:17
Philippe Mori13-Mar-12 16:17 
In C# characters are 2 bytes wide so probably want to first convert the string into an array of bytes. At that step, you have to choose which encoding you want to use. Once you have such an array, you can then apply the above algorithm on it. But be aware that the resulting array of bytes might not be valid for the selected encoding and thus it might be somewhat problematic to return a string. Also because of encoding, the final length might also be different. So you have to know exactly what you want to do and if you want to properly support any valid string or only those that are limited to the ANSI character set.
Philippe Mori

GeneralRe: Delphi to C# Pin
BobJanova13-Mar-12 23:42
BobJanova13-Mar-12 23:42 
GeneralRe: Delphi to C# Pin
lmoelleb14-Mar-12 0:13
lmoelleb14-Mar-12 0:13 
GeneralRe: Delphi to C# Pin
BobJanova14-Mar-12 2:11
BobJanova14-Mar-12 2:11 
GeneralRe: Delphi to C# Pin
lmoelleb14-Mar-12 3:16
lmoelleb14-Mar-12 3:16 
GeneralRe: Delphi to C# Pin
Philippe Mori14-Mar-12 2:37
Philippe Mori14-Mar-12 2:37 
GeneralRe: Delphi to C# Pin
Pete O'Hanlon14-Mar-12 2:49
mvePete O'Hanlon14-Mar-12 2:49 
AnswerRe: Delphi to C# Pin
BobJanova13-Mar-12 23:45
BobJanova13-Mar-12 23:45 
QuestionC# string need to search for a lack of < & > Pin
glennPattonWork313-Mar-12 5:04
professionalglennPattonWork313-Mar-12 5:04 
AnswerRe: C# string need to search for a lack of Pin
Luc Pattyn13-Mar-12 5:42
sitebuilderLuc Pattyn13-Mar-12 5:42 
AnswerRe: C# string need to search for a lack of Pin
DonDiegoDeLaVega13-Mar-12 5:43
DonDiegoDeLaVega13-Mar-12 5:43 
GeneralRe: C# string need to search for a lack of Pin
glennPattonWork313-Mar-12 6:04
professionalglennPattonWork313-Mar-12 6:04 
AnswerRe: C# string need to search for a lack of Pin
PIEBALDconsult13-Mar-12 7:06
mvePIEBALDconsult13-Mar-12 7:06 
QuestionSend Email Pin
om_metab13-Mar-12 4:06
om_metab13-Mar-12 4:06 
AnswerRe: Send Email Pin
Pete O'Hanlon13-Mar-12 4:57
mvePete O'Hanlon13-Mar-12 4:57 
GeneralRe: Send Email Pin
Richard MacCutchan13-Mar-12 6:06
mveRichard MacCutchan13-Mar-12 6:06 
GeneralRe: Send Email Pin
om_metab13-Mar-12 7:32
om_metab13-Mar-12 7:32 
AnswerRe: Send Email Pin
Richard MacCutchan13-Mar-12 6:08
mveRichard MacCutchan13-Mar-12 6:08 

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.