Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Multilanguage resx Pin
stancrm3-Sep-09 5:34
stancrm3-Sep-09 5:34 
GeneralRe: C# Multilanguage resx Pin
Kaare Tragethon3-Sep-09 5:50
Kaare Tragethon3-Sep-09 5:50 
QuestionWindowmediaplayer control Pin
Yonathan11113-Sep-09 4:21
professionalYonathan11113-Sep-09 4:21 
AnswerRe: Windowmediaplayer control Pin
Nuri Ismail3-Sep-09 5:09
Nuri Ismail3-Sep-09 5:09 
Questionflexible datagrid Pin
kruegs353-Sep-09 3:10
kruegs353-Sep-09 3:10 
AnswerRe: flexible datagrid Pin
stancrm3-Sep-09 3:21
stancrm3-Sep-09 3:21 
Question[Message Deleted] Pin
gamer11273-Sep-09 2:17
gamer11273-Sep-09 2:17 
AnswerRe: Converting int type radix sort to string type radix sort Pin
ghelhei3-Sep-09 3:23
ghelhei3-Sep-09 3:23 
jai eto nkita ko code

public void RadixSort(int[] a)
{
// our helper array
int[] t=new int[a.Length];

// number of bits our group will be long
int r=4; // try to set this also to 2, 8 or 16 to see if it is
//quicker or not

// number of bits of a C# int
int b=32;

// counting and prefix arrays
// (note dimensions 2^r which is the number of all possible values of a
//r-bit number)
int[] count=new int[1<<r];
int[] pref=new int[1<<r];

// number of groups
int groups=(int)Math.Ceiling((double)b/(double)r);

// the mask to identify groups
int mask = (1<<r)-1;

// the algorithm:
for (int c=0, shift=0; c<groups; c++, shift+=r)
{
// reset count array
for (int j=0; j<count.Length; j++)
count[j]=0;

// counting elements of the c-th group
for (int i=0; i<a.Length; i++)
count[(a[i]>>shift)&mask]++;

// calculating prefixes
pref[0]=0;
for (int i=1; i<count.Length; i++)
pref[i]=pref[i-1]+count[i-1];

// from a[] to t[] elements ordered by c-th group
for (int i=0; i<a.Length; i++)
t[pref[(a[i]>>shift)&mask]++]=a[i];

// a[]=t[] and start again until the last group
t.CopyTo(a,0);
}
// a is sorted
}
QuestionInner join on Xml Pin
kKamel3-Sep-09 1:23
kKamel3-Sep-09 1:23 
AnswerRe: Inner join on Xml Pin
SeMartens3-Sep-09 1:52
SeMartens3-Sep-09 1:52 
AnswerRe: Inner join on Xml Pin
Not Active3-Sep-09 2:21
mentorNot Active3-Sep-09 2:21 
GeneralRe: Inner join on Xml Pin
kKamel3-Sep-09 19:27
kKamel3-Sep-09 19:27 
QuestionHow can I get Oracle Servers names in current computer Using C# Pin
AhmedMasum3-Sep-09 1:17
AhmedMasum3-Sep-09 1:17 
AnswerRe: How can I get Oracle Servers names in current computer Using C# Pin
Swetha Srinivasan7-Sep-09 19:52
Swetha Srinivasan7-Sep-09 19:52 
QuestionCollection editor Pin
shabanab3-Sep-09 0:02
shabanab3-Sep-09 0:02 
QuestionHow to implement AxMSChart? Pin
puppya2-Sep-09 23:59
puppya2-Sep-09 23:59 
AnswerRe: How to implement AxMSChart? Pin
stancrm3-Sep-09 0:09
stancrm3-Sep-09 0:09 
GeneralRe: How to implement AxMSChart? Pin
puppya3-Sep-09 0:26
puppya3-Sep-09 0:26 
GeneralRe: How to implement AxMSChart? Pin
stancrm3-Sep-09 0:47
stancrm3-Sep-09 0:47 
GeneralRe: How to implement AxMSChart? Pin
Dave Kreskowiak3-Sep-09 6:46
mveDave Kreskowiak3-Sep-09 6:46 
GeneralRe: How to implement AxMSChart? Pin
puppya3-Sep-09 18:08
puppya3-Sep-09 18:08 
QuestionCannot save changes to code programatically Pin
rastaVnuce2-Sep-09 23:56
rastaVnuce2-Sep-09 23:56 
AnswerRe: Cannot save changes to code programatically Pin
stancrm3-Sep-09 0:55
stancrm3-Sep-09 0:55 
GeneralRe: Cannot save changes to code programatically Pin
rastaVnuce3-Sep-09 0:59
rastaVnuce3-Sep-09 0:59 
GeneralRe: Cannot save changes to code programatically Pin
Richard MacCutchan3-Sep-09 2:37
mveRichard MacCutchan3-Sep-09 2:37 

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.