Click here to Skip to main content
11,478,896 members (65,723 online)
   

C#

 
AnswerRe: c# Pin
Richard MacCutchan15-Feb-13 0:11
mvpRichard MacCutchan15-Feb-13 0:11 
GeneralRe: c# Pin
Member 964140615-Feb-13 0:58
memberMember 964140615-Feb-13 0:58 
AnswerRe: How to Send SMS Messages from C# ? Pin
jschell15-Feb-13 10:18
memberjschell15-Feb-13 10:18 
AnswerRe: How to Send SMS Messages from C# ? Pin
Amir Mohammad Nasrollahi29-Jul-13 23:15
professionalAmir Mohammad Nasrollahi29-Jul-13 23:15 
QuestionC# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 9:25
memberHbr_Tha_real14-Feb-13 9:25 
AnswerRe: C# SqlTransaction Pin
mark merrens14-Feb-13 9:42
membermark merrens14-Feb-13 9:42 
GeneralRe: C# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 10:08
memberHbr_Tha_real14-Feb-13 10:08 
GeneralRe: C# SqlTransaction Pin
mark merrens14-Feb-13 10:46
membermark merrens14-Feb-13 10:46 
GeneralRe: C# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 12:17
memberHbr_Tha_real14-Feb-13 12:17 
GeneralRe: C# SqlTransaction Pin
mark merrens14-Feb-13 12:46
membermark merrens14-Feb-13 12:46 
QuestionClassic ASP and C# syntax Pin
vanikanc14-Feb-13 9:11
membervanikanc14-Feb-13 9:11 
AnswerRe: Classic ASP and C# syntax Pin
vanikanc14-Feb-13 11:54
membervanikanc14-Feb-13 11:54 
Questionalphanumeric counter Pin
Angela Scheuvront14-Feb-13 8:41
memberAngela Scheuvront14-Feb-13 8:41 
AnswerRe: alphanumeric counter Pin
Jibesh14-Feb-13 10:04
memberJibesh14-Feb-13 10:04 
Just split the counter as shown below

string base36Characters = "0123456789";
string base36Alaphs = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 
string toBase36(int x, int digits)
{
  char[] result = new char[digits];
  for (int i = digits - 1; i >= 0; --i)
  {
      result[i] = base36Characters[x % 10];
       x /= 10;
   }
   return new string(result);
}
 
IEnumerable<string> base36Counter()
 {
    for (int i = 0; i < base36Alaphs.Length; i++)
    {
      for (int n = 0; n <; 10 * 10 * 10 * 10; ++n)
      {
         yield return base36Alaphs[i] + toBase36(n, 4);
      }
   }
}
 
void Run()
{
    foreach (string s in base36Counter())
        Console.WriteLine(s);
}

GeneralRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 10:28
memberMatt T Heffron14-Feb-13 10:28 
GeneralRe: alphanumeric counter Pin
Jibesh14-Feb-13 10:29
memberJibesh14-Feb-13 10:29 
GeneralRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 10:13
memberMatt T Heffron14-Feb-13 10:13 
QuestionRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 10:52
memberMatt T Heffron14-Feb-13 10:52 
AnswerRe: alphanumeric counter Pin
Angela Scheuvront14-Feb-13 11:15
memberAngela Scheuvront14-Feb-13 11:15 
GeneralRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 11:25
memberMatt T Heffron14-Feb-13 11:25 
GeneralRe: alphanumeric counter Pin
Angela Scheuvront15-Feb-13 2:45
memberAngela Scheuvront15-Feb-13 2:45 
AnswerRe: alphanumeric counter Pin
Richard Deeming15-Feb-13 2:37
memberRichard Deeming15-Feb-13 2:37 
GeneralRe: alphanumeric counter Pin
Matt T Heffron15-Feb-13 8:39
memberMatt T Heffron15-Feb-13 8:39 
QuestionStreamWriter.WriteAsync Pin
wizardzz14-Feb-13 7:15
memberwizardzz14-Feb-13 7:15 
AnswerRe: StreamWriter.WriteAsync Pin
Dave Kreskowiak14-Feb-13 8:31
mvpDave Kreskowiak14-Feb-13 8:31 
GeneralRe: StreamWriter.WriteAsync Pin
wizardzz14-Feb-13 9:33
memberwizardzz14-Feb-13 9:33 
GeneralRe: StreamWriter.WriteAsync Pin
wizardzz14-Feb-13 9:55
memberwizardzz14-Feb-13 9:55 
Questionsingle selection of radio buttons in a table Pin
Member 258173814-Feb-13 5:36
memberMember 258173814-Feb-13 5:36 
AnswerRe: single selection of radio buttons in a table Pin
Richard MacCutchan14-Feb-13 5:58
mvpRichard MacCutchan14-Feb-13 5:58 
AnswerRe: single selection of radio buttons in a table Pin
Alan Balkany14-Feb-13 6:04
memberAlan Balkany14-Feb-13 6:04 
QuestionBetter code Pin
source.compiler14-Feb-13 4:57
membersource.compiler14-Feb-13 4:57 
AnswerRe: Better code Pin
Alan Balkany14-Feb-13 5:50
memberAlan Balkany14-Feb-13 5:50 
GeneralRe: Better code Pin
Manfred R. Bihy14-Feb-13 6:28
memberManfred R. Bihy14-Feb-13 6:28 
QuestionRe: Better code Pin
source.compiler14-Feb-13 6:40
membersource.compiler14-Feb-13 6:40 
AnswerRe: Better code Pin
Alan Balkany14-Feb-13 6:50
memberAlan Balkany14-Feb-13 6:50 
GeneralRe: Better code Pin
Dave Kreskowiak14-Feb-13 7:09
mvpDave Kreskowiak14-Feb-13 7:09 
GeneralRe: Better code Pin
Espen Harlinn14-Feb-13 7:14
mvpEspen Harlinn14-Feb-13 7:14 
GeneralRe: Better code Pin
Alan Balkany14-Feb-13 7:40
memberAlan Balkany14-Feb-13 7:40 
GeneralRe: Better code Pin
source.compiler14-Feb-13 13:02
membersource.compiler14-Feb-13 13:02 
GeneralRe: Better code Pin
Alan Balkany15-Feb-13 4:18
memberAlan Balkany15-Feb-13 4:18 
AnswerRe: Better code Pin
santhosh.3591@gmail.com14-Feb-13 9:19
membersanthosh.3591@gmail.com14-Feb-13 9:19 
GeneralRe: Better code Pin
Amir Mohammad Nasrollahi29-Jul-13 23:16
professionalAmir Mohammad Nasrollahi29-Jul-13 23:16 
AnswerRe: Better code Pin
Eddy Vluggen14-Feb-13 9:30
mvpEddy Vluggen14-Feb-13 9:30 
GeneralRe: Better code Pin
source.compiler14-Feb-13 13:05
membersource.compiler14-Feb-13 13:05 
GeneralRe: Better code Pin
Bull City Rambler14-Feb-13 13:58
memberBull City Rambler14-Feb-13 13:58 
GeneralRe: Better code Pin
Eddy Vluggen14-Feb-13 22:01
mvpEddy Vluggen14-Feb-13 22:01 
AnswerRe: Better code Pin
cjb11015-Feb-13 1:59
membercjb11015-Feb-13 1:59 
QuestionSend/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 4:13
memberadam.m.b.nelson14-Feb-13 4:13 
AnswerRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 4:45
mvpRichard MacCutchan14-Feb-13 4:45 
GeneralRe: Send/Receive text to CMD from C# GUI [modified] Pin
adam.m.b.nelson14-Feb-13 4:54
memberadam.m.b.nelson14-Feb-13 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid