thebahalo's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 1 (0 per day)
- Joined:
- 28-December 11
- Profile Views:
- 396
- Last Active:
Dec 28 2011 02:36 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Rock, Paper, Scissors in Windows Form (C#)
Posted 28 Dec 2011
Just a quick tip, instead of doing
public void CheckForWinner() { if(prps.Equals("Rock") && airps.Equals("Rock"));
and so on for each rock, paper and scissor.
You can do it like this:
public void CheckForWinner() { if(prps == airps);
Which give the same effect.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
thebahalo hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
thebahalo has no profile comments yet. Why not say hello?