Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace EmployeeTest
- {
- class Date
- {
- public int month;
- public int day;
- public int year;
- public Date(int month, int day, int year) {
- this.month;
- this.day = day;
- this.year = year
- }
- public void DisplayDate() {
- return String.format("Current Date | {0}/{1}{2}", month, day, year);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement