Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

C#

Name: Anonymous 2009-09-10 13:04

System.Console.WriteLine(" Write N (N>=2), \n ");
System.Console.ReadLine();
Now I want to assign the input to a, how does one do that?
a = ?

Name: Anonymous 2009-09-10 13:05

Read the documentation instead of guessing at it.

Name: Anonymous 2009-09-10 13:07

string a = Console.ReadLine();

Name: Anonymous 2009-09-10 13:14

>>1
Cool Trolling, Bro

Name: Anonymous 2009-09-10 13:14

a is going to be a number..

Name: Anonymous 2009-09-10 13:15

            int a;
            int max;
            int i;
            min();
        }
        static void min()
        {
            int max;
            System.Console.WriteLine(" Write N (N>=2), \n ");
            System.Console.ReadLine();
            string n = Console.ReadLine();
            System.Console.WriteLine(" Write A, \n ");
            System.Console.ReadLine();
            a = Console.ReadLine();
            a == max;

Name: Anonymous 2009-09-10 13:26

I'm googling and can't find shit

Name: Anonymous 2009-09-10 13:31

Name: Anonymous 2009-09-10 13:35

Name: Anonymous 2009-09-10 13:38

Name: Anonymous 2009-09-10 13:53

Please use the [code] tags! Thank you.

Name: Anonymous 2009-09-10 13:58

Why the hell are you writing System.?

Name: Anonymous 2009-09-10 14:07

>>12
Explicit namespace referencing considered ENTERPRISE BEST PRACTICE for best EXTENSIBILITY AND SCALABILITY.

Name: ​​​​​​​​​​ 2010-10-23 17:44

Don't change these.
Name: Email:
Entire Thread Thread List