Click here to Skip to main content
15,905,419 members
Home / Discussions / C#
   

C#

 
Questionbackup mysql database using c# Pin
altafmohd13-Mar-12 19:28
altafmohd13-Mar-12 19:28 
AnswerRe: backup mysql database using c# Pin
Wayne Gaylard13-Mar-12 19:43
professionalWayne Gaylard13-Mar-12 19:43 
GeneralRe: backup mysql database using c# Pin
altafmohd13-Mar-12 20:31
altafmohd13-Mar-12 20:31 
GeneralRe: backup mysql database using c# Pin
Wayne Gaylard13-Mar-12 20:37
professionalWayne Gaylard13-Mar-12 20:37 
GeneralRe: backup mysql database using c# Pin
altafmohd13-Mar-12 21:36
altafmohd13-Mar-12 21:36 
GeneralRe: backup mysql database using c# Pin
Pete O'Hanlon13-Mar-12 22:50
mvePete O'Hanlon13-Mar-12 22:50 
GeneralRe: backup mysql database using c# Pin
altafmohd13-Mar-12 23:19
altafmohd13-Mar-12 23:19 
GeneralRe: backup mysql database using c# Pin
altafmohd14-Mar-12 8:42
altafmohd14-Mar-12 8:42 
AnswerRe: backup mysql database using c# Pin
Wayne Gaylard14-Mar-12 20:07
professionalWayne Gaylard14-Mar-12 20:07 
GeneralRe: backup mysql database using c# Pin
altafmohd14-Mar-12 21:01
altafmohd14-Mar-12 21:01 
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 

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.