Click here to Skip to main content
15,904,024 members
Home / Discussions / C#
   

C#

 
GeneralJava Applet/Servlet vs. .NET Pin
blue_angel17-Jan-04 2:42
blue_angel17-Jan-04 2:42 
GeneralRe: Java Applet/Servlet vs. .NET Pin
Amalorpavanathan Yagulasamy(AMAL)17-Jan-04 9:44
Amalorpavanathan Yagulasamy(AMAL)17-Jan-04 9:44 
GeneralRe: Java Applet/Servlet vs. .NET Pin
Heath Stewart17-Jan-04 10:03
protectorHeath Stewart17-Jan-04 10:03 
GeneralRe: Java Applet/Servlet vs. .NET Pin
Dmitriy Kostovetskiy17-Jan-04 12:44
Dmitriy Kostovetskiy17-Jan-04 12:44 
GeneralSelect Grid Cell value Pin
Ashraf Alsadiq17-Jan-04 2:23
Ashraf Alsadiq17-Jan-04 2:23 
GeneralRe: Select Grid Cell value Pin
Mazdak17-Jan-04 2:28
Mazdak17-Jan-04 2:28 
GeneralRe: Select Grid Cell value Pin
Ashraf Alsadiq17-Jan-04 2:42
Ashraf Alsadiq17-Jan-04 2:42 
Questionhow can i save this? Pin
Peter Reiter16-Jan-04 23:03
Peter Reiter16-Jan-04 23:03 
AnswerRe: how can i save this? Pin
Mazdak17-Jan-04 0:29
Mazdak17-Jan-04 0:29 
AnswerRe: how can i save this? Pin
Corinna John17-Jan-04 6:34
Corinna John17-Jan-04 6:34 
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 

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.