Difference between “|” and “||”

What a difference they have!!

Comments

Calling a method using its name as a string value

System.Reflection.MethodInfo is the one that I can use the name of method as a string value to call the method.

In order to get the method, the typeof() keyword should be used, instead of the Type.GetType() method.

Comments

Possibility that Korea Advances to the Next Round

Even though South Korea lost the match against Argentina, it still stands at thesecond of the Group B. Well, there is still hope to go to the next round depending on the last match with Nigeria.

switch (GetResultMatch(Korea, Nigeria))
{
  case Result.Won:
    if (GetResultMatch(Greece, Argentina) == Result.Won)
      if (GetGoalDifference(Greece, Korea) >= 2)
        SetNextRound(Greece);
      else
        SetNextRound(Korea);
    else
      SetNextRound(Korea);
    break;
  case Result.Draw:
    if (GetResultMatch(Greece, Argentina) == Result.Won)
      SetNextRound(Greece);
    else if (GetResultMatch(Greece, Argentina) == Result.Draw)
      if (GetGoalDifference(Greece, Korea) >= 2)
        SetNextRound(Greece);
      else
        SetNextRound(Korea);
    else
      SetNextRound(Korea);
    break;
  case Result.Lost:
    if (GetResultMatch(Argentina, Greece) == Result.Won)
      SetNextRound(Nigeria);
    else
      SetNextRound(Greece);
    break;
}

I don’t think it’s possible for Greece to put Argentina two more goals down. South Korea should take the last game from Nigeria. I bet South Korea goes to the Round 16. And yourself guys?

Comments

Test from Posterous

This is test posting.

Posted via email from Just in Chronicles

Comments

How to manually attach debugging to ASP.NET process

This is the way to manually attach debugger to process when debugging mode is not properly running because of the account privilege, especially for PHP scripts in Visual Studio 2008.

PS. It’s been for age since the last post!

Comments

To Encrypt/Decrypt web.config

It’s really complicating, though.

It’s really annoying, though.

Comments

Installing PHP on IIS 7

Unlike IIS 5.1 running on WindowsXP, IIS 7.0 on Windows Vista and IIS 7.5 on Windows 7 are a lot different, in terms of setting up. Well, even though Windows Web Platform Installer can automate all the set up process, manual set-up needs be learned for troubleshooting.

Comments

IIS 7.0 + FTP 7.0 : 530 Error

When setting up user accounts on FTP 7.0 running onto IIS 7.0, the username of it must be the same as its root directory. Otherwise, the error message below will come up.

530 User cannot log in, home directory inaccessible.

Comments
Comments

GymLog/ 08/02/2010

  • 0600 0700 BodyAttack

Can’t get myself into the rhythm. T.T Used be a “Pump-it-up” expert, though!

Comments