This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-04-25 20:55:14

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

YAY YAY YAY C#! :p

I'm downloading C#!

I can't wait for it to finish.

Right now the installation is so slow!  mad

Did I mention that it was Microsoft Visual C# 2010 Express Edition?

Last edited by ThePCKid (2010-04-25 20:57:03)

Offline

 

#2 2010-04-25 20:59:36

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

It finally finished! Now to restart the PC...

Offline

 

#3 2010-04-25 21:00:49

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: YAY YAY YAY C#! :p

Good luck learning it, I guess.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#4 2010-04-25 21:06:55

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

The PC just restarted, and the installation continued!

Offline

 

#5 2010-04-25 21:07:08

banana500
Scratcher
Registered: 2009-09-06
Posts: 1000+

Re: YAY YAY YAY C#! :p

Awesome!!!


http://i.imgur.com/jrCyB2r.gif
'Cause I'm NUMBER ONE.

Offline

 

#6 2010-04-25 21:13:17

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

Hopefully it finishes soon, I have to go to bed in about 45 minutes

Offline

 

#7 2010-04-25 21:15:07

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

Now it says that I have to restart again T_T

Offline

 

#8 2010-04-25 21:28:11

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

Hopefully I don't have to restart again...

Offline

 

#9 2010-04-25 21:36:31

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

IT'S DONE INSTALLING!  big_smile

Offline

 

#10 2010-04-25 21:49:23

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

Code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Hello World!", "Hello!");
        }
    }
}

My first C# program  smile

Offline

 

#11 2010-04-25 21:52:04

banana500
Scratcher
Registered: 2009-09-06
Posts: 1000+

Re: YAY YAY YAY C#! :p

ThePCKid wrote:

Code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Hello World!", "Hello!");
        }
    }
}

My first C# program  smile

What does it do?


http://i.imgur.com/jrCyB2r.gif
'Cause I'm NUMBER ONE.

Offline

 

#12 2010-04-25 22:04:26

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: YAY YAY YAY C#! :p

banana500 wrote:

What does it do?

A Hello World program that runs when you click a button, I guess.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#13 2010-04-26 00:03:59

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: YAY YAY YAY C#! :p

banana500 wrote:

ThePCKid wrote:

Code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Hello World!", "Hello!");
        }
    }
}

My first C# program  smile

What does it do?

When you run the application and press "button1" a message box will pop up and it will look like this:
http://img443.imageshack.us/img443/8164/messaged.png


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#14 2010-04-26 03:19:17

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: YAY YAY YAY C#! :p

Cool! If I had windows I would use c++ or c#, but I don't.

Offline

 

#15 2010-04-26 08:16:13

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

Last night, after the installation, I got a product key :3

Offline

 

#16 2010-04-26 08:24:10

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: YAY YAY YAY C#! :p

smile  I got VB 2010 express. It took up like, what, 170 mb?

I made a really advanced web browser my first day  smile


http://i46.tinypic.com/dw7zft.png

Offline

 

#17 2010-04-26 09:18:57

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: YAY YAY YAY C#! :p

SeptimusHeap wrote:

smile  I got VB 2010 express. It took up like, what, 170 mb?

I made a really advanced web browser my first day  smile

I have VB 2010 too but I used VB 2005 for my web browser because it uses an older version of .net framework. My web browser features a Custom Menu Strip Generator see link.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#18 2010-04-26 09:22:21

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: YAY YAY YAY C#! :p

I've got MS VisualStudio 2010 Professional. That's the best version you can introduce  smile


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#19 2010-04-26 09:48:04

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: YAY YAY YAY C#! :p

All teh best learning C# its really an awesome programming language i must say , btw as u are a good game maker so i guess u should download XNA development kit thats a really worthy addition to C# that will also enable you to build a X-box game  smile .

btw here is ma first program not at C# but at C++

Code:

#include<iostream.h>

void main()
{ cout<<"hello";
  }

it bugged cuz i fogot to enter getch in it  tongue  .  big_smile

Last edited by fanofcena (2010-04-26 09:53:13)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#20 2010-04-26 12:42:18

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: YAY YAY YAY C#! :p

fanofcena wrote:

All teh best learning C# its really an awesome programming language i must say , btw as u are a good game maker so i guess u should download XNA development kit thats a really worthy addition to C# that will also enable you to build a X-box game  smile .

btw here is ma first program not at C# but at C++

Code:

#include<iostream.h>

void main()
{ cout<<"hello";
  }

it bugged cuz i fogot to enter getch in it  tongue  .  big_smile

Hmm.. that is bugged, how about:

Code:

#include<iostream.h>

void main()
{
std::cout<<"hello";
}

OR

Code:

#include<iostream.h>
using namespace std;

void main()
{
cout<<"hello";
}

I fixed the bugs!  big_smile


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#21 2010-04-26 16:06:12

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: YAY YAY YAY C#! :p

Mah web browsah haz teh bookmarkz!

Lol. It's really cool, though...


http://i46.tinypic.com/dw7zft.png

Offline

 

#22 2010-04-26 20:04:03

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

Sperry wrote:

fanofcena wrote:

All teh best learning C# its really an awesome programming language i must say , btw as u are a good game maker so i guess u should download XNA development kit thats a really worthy addition to C# that will also enable you to build a X-box game  smile .

btw here is ma first program not at C# but at C++

Code:

#include<iostream.h>

void main()
{ cout<<"hello";
  }

it bugged cuz i fogot to enter getch in it  tongue  .  big_smile

Hmm.. that is bugged, how about:

Code:

#include<iostream.h>

void main()
{
std::cout<<"hello";
}

OR

Code:

#include<iostream.h>
using namespace std;

void main()
{
cout<<"hello";
}

I fixed the bugs!  big_smile

This is how you do it in C#:

Code:

using System;

class Hello
{
   static void Main() {
      Console.Write("Hello world!");
   }
}

But you can't see the result because it quits right away. Does anyone know how to make it that it stays open until the close button is clicked?

Last edited by ThePCKid (2010-04-27 17:31:16)

Offline

 

#23 2010-04-26 20:11:20

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

meew0 wrote:

I've got MS VisualStudio 2010 Professional. That's the best version you can introduce  smile

Lucky. I only have these Visual Studio programs installed:

• Visual Basic 2008
• Visual C# 2010

Offline

 

#24 2010-04-26 20:15:08

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

SeptimusHeap wrote:

smile  I got VB 2010 express. It took up like, what, 170 mb?

I made a really advanced web browser my first day  smile

The installation was 144MB.

My computer's read/write speed is so slow...

Offline

 

#25 2010-04-26 21:12:25

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: YAY YAY YAY C#! :p

Sorry for quadruple posting, but here is a tool that I made while being bored:

Code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("Enter a character: ");
            char c = (char)Console.Read();
            if (Char.IsUpper(c))
            {
                Console.WriteLine("Character is uppercase.");
            }
            else if (Char.IsLower(c))
            {
                Console.WriteLine("Character is lowercase.");
            }
            else if (Char.IsDigit(c))
            {
                Console.WriteLine("Character is a number.");
            }
            else
            {
                Console.WriteLine("Character is a symbol");
            }
        }
    }
}

Offline

 

Board footer