SHARE
TWEET

Untitled

a guest Sep 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace EmployeeTest
  8. {
  9.     class Date
  10.     {
  11.         public int month;
  12.         public int day;
  13.         public int year;
  14.  
  15.         public Date(int month, int day, int year) {
  16.             this.month;
  17.             this.day = day;
  18.             this.year = year
  19.         }
  20.  
  21.         public void DisplayDate() {
  22.             return String.format("Current Date       |      {0}/{1}{2}", month, day, year);
  23.         }
  24.  
  25.     }
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top