Click here to Skip to main content
12,299,086 members (52,876 online)
   

C#

 
GeneralRe: thank you Pin
V.15-Feb-13 0:05
memberV.15-Feb-13 0:05 
AnswerRe: c# Pin
Richard MacCutchan14-Feb-13 23:11
mvpRichard MacCutchan14-Feb-13 23:11 
GeneralRe: c# Pin
Member 964140614-Feb-13 23:58
memberMember 964140614-Feb-13 23:58 
AnswerRe: How to Send SMS Messages from C# ? Pin
jschell15-Feb-13 9:18
memberjschell15-Feb-13 9:18 
AnswerRe: How to Send SMS Messages from C# ? Pin
Amir Mohammad Nasrollahi29-Jul-13 22:15
professionalAmir Mohammad Nasrollahi29-Jul-13 22:15 
QuestionC# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 8:25
memberHbr_Tha_real14-Feb-13 8:25 
AnswerRe: C# SqlTransaction Pin
mark merrens14-Feb-13 8:42
membermark merrens14-Feb-13 8:42 
GeneralRe: C# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 9:08
memberHbr_Tha_real14-Feb-13 9:08 
GeneralRe: C# SqlTransaction Pin
mark merrens14-Feb-13 9:46
membermark merrens14-Feb-13 9:46 
GeneralRe: C# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 11:17
memberHbr_Tha_real14-Feb-13 11:17 
GeneralRe: C# SqlTransaction Pin
mark merrens14-Feb-13 11:46
membermark merrens14-Feb-13 11:46 
QuestionClassic ASP and C# syntax Pin
vanikanc14-Feb-13 8:11
membervanikanc14-Feb-13 8:11 
AnswerRe: Classic ASP and C# syntax Pin
vanikanc14-Feb-13 10:54
membervanikanc14-Feb-13 10:54 
Questionalphanumeric counter Pin
Angela Scheuvront14-Feb-13 7:41
memberAngela Scheuvront14-Feb-13 7:41 
I saw the previous post on this same type of question however it wasn't much help

Here is what I need to do
Start at
A0001... A9999 to B0000...Z9999 to AA000...ZZZZZ

I found this code but it didn't explain what to put in the the variables your passing to it.

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

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


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