Jump to content

C# Help ?

TheRoss0411
Go to solution Solved by yuh25,

Looks like you're using visual basic, by the looks of it, just from the .vb

and you'll also have to have:

using System.Windows.Forms;

at the start of the program I'm pretty sure.

I am trying C#, not going too well, i cant even get variables to work

I know it's not meant to look like this, i am messing around to attempt to fix it

CPUIntel 4670k  Motherboard - Gigabyte GA-Z87X-D3H  RAMKingston HyperX 8GB  GPU - EVGA 780  Case - Fractal Design Define R4    Storage - 2TB WD Black, Samsung 840 Evo 128GB     PSU - Corsair RM650  Display -  Benq XL2430T and Acer S235HL  Cooling - CM Hyper 212 Evo  Keyboard - Corsair K95  Mouse - Razer Deathadder  Sound - Sennheiser HD 558                                 Mic - Blue Snowball  Phone- OnePlus One  Tablet - Nvidia Shield

Link to comment
Share on other sites

Link to post
Share on other sites

Just take any online C# tutorial to get past basics. There is not much help to offer here.

 

Don't know C# but imho it should be something like:

string name;name = "Ross";MessageBox.Show(name);
Link to comment
Share on other sites

Link to post
Share on other sites

 

Just take any online C# tutorial to get past basics. There is not much help to offer here.

 

Don't know C# but imho it should be something like:

string name;name = "Ross";MessageBox.Show(name);

Nope, not working

CPUIntel 4670k  Motherboard - Gigabyte GA-Z87X-D3H  RAMKingston HyperX 8GB  GPU - EVGA 780  Case - Fractal Design Define R4    Storage - 2TB WD Black, Samsung 840 Evo 128GB     PSU - Corsair RM650  Display -  Benq XL2430T and Acer S235HL  Cooling - CM Hyper 212 Evo  Keyboard - Corsair K95  Mouse - Razer Deathadder  Sound - Sennheiser HD 558                                 Mic - Blue Snowball  Phone- OnePlus One  Tablet - Nvidia Shield

Link to comment
Share on other sites

Link to post
Share on other sites

Looks like you're using visual basic, by the looks of it, just from the .vb

and you'll also have to have:

using System.Windows.Forms;

at the start of the program I'm pretty sure.

3700x, Asus B450i, 16GB Corsair Vengeance RGB, Gigabyte GTX 970 ITXDan A4-SFX, SX600-G, 120mm AIO.

Link to comment
Share on other sites

Link to post
Share on other sites

Looks like you're using visual basic, by the looks of it, just from the .vb

 

What ?

Well now i feel like an idiot

CPUIntel 4670k  Motherboard - Gigabyte GA-Z87X-D3H  RAMKingston HyperX 8GB  GPU - EVGA 780  Case - Fractal Design Define R4    Storage - 2TB WD Black, Samsung 840 Evo 128GB     PSU - Corsair RM650  Display -  Benq XL2430T and Acer S235HL  Cooling - CM Hyper 212 Evo  Keyboard - Corsair K95  Mouse - Razer Deathadder  Sound - Sennheiser HD 558                                 Mic - Blue Snowball  Phone- OnePlus One  Tablet - Nvidia Shield

Link to comment
Share on other sites

Link to post
Share on other sites

I guess you probably figured out the answer by now then, but just to say it

 

For VB Variables

'Just to be clear, I didn't choose this number at randomDim myGreatVariableName as Long = 3131961357

0b10111010 10101101 11110000 00001101

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×