Click here to Skip to main content
15,898,036 members
Home / Discussions / C#
   

C#

 
GeneralRe: Business entities and unique identifiers. Pin
Rob Philpott14-Mar-08 4:23
Rob Philpott14-Mar-08 4:23 
GeneralRe: Business entities and unique identifiers. Pin
matbuk14-Mar-08 4:38
matbuk14-Mar-08 4:38 
GeneralRe: Business entities and unique identifiers. Pin
Rob Philpott14-Mar-08 4:45
Rob Philpott14-Mar-08 4:45 
GeneralRe: Business entities and unique identifiers. Pin
matbuk14-Mar-08 4:50
matbuk14-Mar-08 4:50 
QuestionHow to view PDF in C# (Window forms) Pin
Khaleek Ahmad14-Mar-08 2:11
Khaleek Ahmad14-Mar-08 2:11 
AnswerRe: How to view PDF in C# (Window forms) Pin
C1AllenS14-Mar-08 3:18
C1AllenS14-Mar-08 3:18 
Generalmaintain back the combobox item Pin
angels77714-Mar-08 1:57
angels77714-Mar-08 1:57 
Questionconsole application issue Pin
Pankaj Garg14-Mar-08 1:02
Pankaj Garg14-Mar-08 1:02 
Folowing is the code that is written in the console application.
what is the meaning of % displayString.Length
in the folowing line
Console.Write(displayString[counter++ % displayString.Length]);
class Program<br />
    {<br />
        static int counter = 0;<br />
<br />
        static string displayString =<br />
        "This string will appear one letter at a time. ";<br />
<br />
        static void Main(string[] args)<br />
        {<br />
            Timer myTimer = new Timer(100);<br />
            myTimer.Elapsed += new ElapsedEventHandler(WriteChar);<br />
            myTimer.Start();<br />
            Console.ReadKey();<br />
        }<br />
        static void WriteChar(object source, ElapsedEventArgs e)<br />
        {<br />
            Console.Write(displayString[counter++ % displayString.Length]);<br />
        }<br />
    }


If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!

GeneralRe: console application issue Pin
Rob Philpott14-Mar-08 1:15
Rob Philpott14-Mar-08 1:15 
GeneralAvoid file deletion Pin
Tanuja12314-Mar-08 0:14
Tanuja12314-Mar-08 0:14 
GeneralRe: Avoid file deletion Pin
Rob Philpott14-Mar-08 0:25
Rob Philpott14-Mar-08 0:25 
GeneralRe: Avoid file deletion [modified] Pin
Nilesh Hapse14-Mar-08 1:01
Nilesh Hapse14-Mar-08 1:01 
GeneralRe: Avoid file deletion Pin
Rob Philpott14-Mar-08 1:05
Rob Philpott14-Mar-08 1:05 
GeneralRe: Avoid file deletion Pin
Programm3r14-Mar-08 0:29
Programm3r14-Mar-08 0:29 
GeneralRe: Avoid file deletion Pin
Lutosław14-Mar-08 3:02
Lutosław14-Mar-08 3:02 
GeneralRe: Avoid file deletion Pin
Dave Kreskowiak14-Mar-08 7:13
mveDave Kreskowiak14-Mar-08 7:13 
QuestionTextWriter.WriteLine() Pin
nilam247714-Mar-08 0:06
nilam247714-Mar-08 0:06 
QuestionRe: TextWriter.WriteLine() Pin
Programm3r14-Mar-08 0:16
Programm3r14-Mar-08 0:16 
QuestionRe: TextWriter.WriteLine() Pin
nilam247714-Mar-08 0:20
nilam247714-Mar-08 0:20 
GeneralRe: TextWriter.WriteLine() Pin
phannon8614-Mar-08 0:22
professionalphannon8614-Mar-08 0:22 
QuestionRe: TextWriter.WriteLine() Pin
nilam247714-Mar-08 0:27
nilam247714-Mar-08 0:27 
GeneralRe: TextWriter.WriteLine() Pin
Rob Philpott14-Mar-08 0:27
Rob Philpott14-Mar-08 0:27 
QuestionRe: TextWriter.WriteLine() Pin
nilam247714-Mar-08 0:45
nilam247714-Mar-08 0:45 
GeneralRe: TextWriter.WriteLine() Pin
Rob Philpott14-Mar-08 0:59
Rob Philpott14-Mar-08 0:59 
GeneralRe: TextWriter.WriteLine() Pin
Rob Philpott14-Mar-08 1:00
Rob Philpott14-Mar-08 1:00 

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.