/*
Learning C#
by Jesse Liberty
Publisher: O'Reilly
ISBN: 0596003765
*/
using System;
public class MyTime
{
// private variables
private int year;
private int month;
private int date;
private int hour;
private int minute;
private int second;
// public methods
public void DisplayCurrentMyTime()
{
Console.WriteLine(
"stub for DisplayCurrentMyTime");
}
}
public class Tester
{
static void Main()
{
MyTime timeObject = new MyTime();
timeObject.DisplayCurrentMyTime();
}
}
|