kennedy

A blog for blog-haters, by a blog-hater

Oct30

Session 3 - Student Questions

1. Explain String.Format("{0:0.00}", x);          The Format method of the String type allows us to take a varable/string, and format it in a certain way -- keep the value the same, just make it look different based on my desired pat ...[Read More]
Published: Oct-30-07 | 0 Comments | Links to this post

Oct30

Session 3 - Lab

For this session, we will continue with the lab from last week.  We now have enough information to complete the first two milestones almost in their entirety.   Again, the lab directions are in Word format, located at c:\Labs\xlab_cs_oop_2 0. ...[Read More]
Published: Oct-30-07 | 0 Comments | Links to this post

Oct29

Session 2 - Lab Solution

Here is a link to a zip of the project and class code for the lab.  But the following is the code from the two classes (MyList and MySortedList) along with some sample test code (in the form of a "static void Main").  Note that a "C ...[Read More]
Published: Oct-29-07 | 1 Comment | Links to this post

Oct26

Links

Ongoing list of links/sites that may have come up during our class sessions MSDN -- central Microsoft site for all things developer related; I search here at least once a week, and visit to see any new articles and white papers about as frequentl ...[Read More]
Published: Oct-26-07 | 0 Comments | Links to this post

Oct26

Session 2 - Student Questions

1. When should the "this" keyword/qualifier be used?         The rote definition of the "this" keyword denotes it as being able to refer to the current instance of the class, and that it can be used to access members from with ...[Read More]
Published: Oct-26-07 | 0 Comments | Links to this post

Oct25

Session 2 - Demo code and notes

As promised, here is the demo code that I worked through this past session zipped.   Demo code   Just a reiteration of some of the override stuff from this week.   If our code looks like the following:  class SomeBase { public virtual i ...[Read More]
Published: Oct-25-07 | 65 Comments | Links to this post

Oct22

Session 2 - Labs

There's only one lab for this session, but it has two parts, or milestones (the lab does have milestone 3, but that part of the lab is reserved for after Session 3).   The lab is in Word format, located at c:\Labs\xlab_cs_oop_2 0.doc   Therei ...[Read More]
Published: Oct-22-07 | 0 Comments | Links to this post

Oct22

Session 1 - Lab Solutions

Lab 1 -- no solutions   Lab 2   Hello World Console:  using System; public class MainApp { public static void Main() { Console.WriteLine("Type your name and press Enter"); string name = Console.ReadLine(); Console.W ...[Read More]
Published: Oct-22-07 | 0 Comments | Links to this post

Oct19

Session 1 - Student Questions

1. What exact functionalities are there in mscorwks.dll, mscorsvr.dll and mscorlib.dll? I understand they are part of the CLR I am curious to know their specific role in running the managed code and why was it significant to get added to the hom ...[Read More]
Published: Oct-19-07 | 0 Comments | Links to this post

Oct19

VPC and you

As promised, here is a short blurb on Microsoft Virtual PC 2007.   VPC07 is Microsoft's approach to platform virtualization, allowing for multiple simultaneously running OS's on the same hardware.  MS has a server version and the desktop version ...[Read More]
Published: Oct-19-07 | 0 Comments | Links to this post

 Next >>