Holy hand-grenade, grompf!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: joykillah on July 23, 2011, 08:20 AM
Basically I've talked to grok about organizing vL and getting everyone together that wants to be on diablo 3 and any other games. This includes recruiting some new members which will be done the same way people need to be voted on by the active members.
I need to talk to Grok about pointing irc.valhallalegends.com to the same ip and then from there hopefully we get more vL.
class TS { public int lossyVal = 0; }
TS ts = new TS();
ts.lossyVal = 555; // we will attempt to lose this data via conversions
Object tt = new object();
// implicit cast
tt = ts;
Console.WriteLine("ts is type {0}", ts.GetType().ToString());
Console.WriteLine("tt is type {0}", tt.GetType().ToString());
// at this point, both tt and ts are varibles of type TS, so ...
ts = tt; // why does compile fail without explicit cast?
// is it because compiler cannot figure out what happened on "tt = ts" line?
// I can buy that, but what about ..
// cast ts to object, attempt to lose the lossyVal
tt = (object) ts;
Console.WriteLine("ts is type {0}", ts.GetType().ToString());
Console.WriteLine("tt is type {0}", tt.GetType().ToString());
// why is tt not demoted to System.Object, and lose the extra data??
// tt should be a type that doesnt have a member called lossyVal, but ..
Console.WriteLine("guess what .. ({0})", ((TS)tt).lossyVal);
Quote from: Thing on April 28, 2010, 09:08 AM
I just farted.
Quote from: rabbit on December 02, 2009, 02:14 PM
Sometimes you can approach insane from a different direction.
Quote from: MyndFyre on October 04, 2009, 02:45 AMOr use jQuery, the bestest javascript thingamajig EVER.
Page created in 0.197 seconds with 17 queries.