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

C#

 
GeneralWindows Application Screen Resolution problem Pin
koosala16-Jan-04 18:13
koosala16-Jan-04 18:13 
GeneralRe: Windows Application Screen Resolution problem Pin
Mazdak16-Jan-04 19:27
Mazdak16-Jan-04 19:27 
GeneralRe: Windows Application Screen Resolution problem Pin
Heath Stewart16-Jan-04 19:40
protectorHeath Stewart16-Jan-04 19:40 
GeneralRe: Windows Application Screen Resolution problem Pin
leppie17-Jan-04 7:05
leppie17-Jan-04 7:05 
GeneralRe: Windows Application Screen Resolution problem Pin
je_gonzalez17-Jan-04 8:40
je_gonzalez17-Jan-04 8:40 
GeneralRe: Windows Application Screen Resolution problem Pin
leppie17-Jan-04 9:26
leppie17-Jan-04 9:26 
GeneralRe: Windows Application Screen Resolution problem Pin
je_gonzalez17-Jan-04 9:33
je_gonzalez17-Jan-04 9:33 
QuestionWho can help me about this question? Pin
Feelyn200816-Jan-04 15:24
Feelyn200816-Jan-04 15:24 
AnswerRe: Who can help me about this question? Pin
Colin Angus Mackay16-Jan-04 15:53
Colin Angus Mackay16-Jan-04 15:53 
GeneralRe: Who can help me about this question? Pin
je_gonzalez16-Jan-04 17:02
je_gonzalez16-Jan-04 17:02 
GeneralRe: Who can help me about this question? Pin
Forrest Feather17-Jan-04 9:43
Forrest Feather17-Jan-04 9:43 
AnswerRe: Who can help me about this question? Pin
je_gonzalez16-Jan-04 17:18
je_gonzalez16-Jan-04 17:18 
using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Drawing;
using System.Collections;

namespace CodeProject
{
class SillyStuff
{
[STAThread]
static void Main(string[] args)
{
ArrayList list = new ArrayList();
bool[] patt = new bool[] {false, false, false, false, false};
bool keeptruckin = true;

while (keeptruckin)
{
keeptruckin = false;

for (int loop1 = patt.GetLowerBound(0); loop1 <= patt.GetUpperBound(0); loop1++)
{
if (!patt[loop1])
{
patt[loop1] = true;
keeptruckin = true;
break;
}
else
{
patt[loop1] = false;
}
}

if (keeptruckin)
{
string buffer = string.Empty;

for (int loop2 = patt.GetLowerBound(0); loop2 <= patt.GetUpperBound(0); loop2++)
{
if (patt[loop2]) buffer += (loop2 + 1).ToString();
}

list.Add(buffer);
}
}

list.Sort();

for (int loop3 = 0; loop3 < list.Count; loop3++)
{
Console.WriteLine(list[loop3]);
}

Console.WriteLine("DONE");
}
}
}

GeneralRe: Who can help me about this question? Pin
Daniel Turini17-Jan-04 5:03
Daniel Turini17-Jan-04 5:03 
GeneralRe: Who can help me about this question? Pin
je_gonzalez17-Jan-04 8:57
je_gonzalez17-Jan-04 8:57 
GeneralDatagrid and c# Pin
caheo16-Jan-04 14:08
caheo16-Jan-04 14:08 
GeneralRe: Datagrid and c# Pin
Heath Stewart16-Jan-04 19:29
protectorHeath Stewart16-Jan-04 19:29 
QuestionEditboxes show unknown chars as ?? Pin
Anonymous16-Jan-04 14:02
Anonymous16-Jan-04 14:02 
AnswerRe: Editboxes show unknown chars as ?? Pin
LiquidKnight16-Jan-04 14:06
LiquidKnight16-Jan-04 14:06 
AnswerRe: Editboxes show unknown chars as ?? Pin
Heath Stewart16-Jan-04 19:22
protectorHeath Stewart16-Jan-04 19:22 
GeneralGive name to table from stored procedure Pin
laphijia16-Jan-04 8:29
laphijia16-Jan-04 8:29 
GeneralRe: Give name to table from stored procedure Pin
Rocky Moore16-Jan-04 8:44
Rocky Moore16-Jan-04 8:44 
GeneralRe: Give name to table from stored procedure Pin
Guillermo Rivero16-Jan-04 12:51
Guillermo Rivero16-Jan-04 12:51 
GeneralRe: Give name to table from stored procedure Pin
Heath Stewart16-Jan-04 19:18
protectorHeath Stewart16-Jan-04 19:18 
GeneralLearned something new.. Pin
Rocky Moore16-Jan-04 8:14
Rocky Moore16-Jan-04 8:14 
GeneralRe: Learned something new.. Pin
Mazdak16-Jan-04 8:22
Mazdak16-Jan-04 8:22 

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.