When they said snow squalls...
Oct. 29th, 2006 02:32 pmThey really meant it, didn't they?
The weather changes from beautiful blue sky to scads of snow in 30-second intervals.
The one constant? The wind howls.
I've finished my C# assignment, and have nothing else to do today until suppertime. It's a good day for curling up on the couch and doing nothing. I think I'll read a little, or knit a little, and just be glad I can stay inside.
The weather changes from beautiful blue sky to scads of snow in 30-second intervals.
The one constant? The wind howls.
I've finished my C# assignment, and have nothing else to do today until suppertime. It's a good day for curling up on the couch and doing nothing. I think I'll read a little, or knit a little, and just be glad I can stay inside.
no subject
Date: 2006-10-30 12:54 am (UTC)That occurred to me while I was in the shower this afternoon (I think of weird stuff at random times :) ), but I haven't tried it yet. I wasn't sure which way to go because the assignment itself doesn't say anything about setting up multiple classes - just the one Student class. I'll give it a shot and see if I can get it to work. (Which reminds me, I realized while looking over the Card/Deck program that the InitializeDeck method doesn't seem to have any kind of impact - if I comment out its code, the program still works because GetCardName and GetSuitName are operating directly on the random number selected. Main can't access my "cards" array that's set up in InitializeDeck. So obviously, while I'm getting the correct result, I didn't code it properly.)
(I doubted I could have a "Class" class *g*)
I thought C# was case sensitive. ;)
Even so, I wouldn't think it would be good programming practice to call a class "Class," just because of potential confusion.