carynb: (Wintertime)
[personal profile] carynb
They 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.

Date: 2006-10-30 12:54 am (UTC)
From: [identity profile] boywhocantsayno.livejournal.com
I set up two classes, by the way - Student and aClass.

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.

Profile

carynb: (Default)
carynb

April 2015

S M T W T F S
   1234
567891011
1213141516 1718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 1st, 2026 12:37 pm
Powered by Dreamwidth Studios