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 po_es_12
- {
- class Automobili
- {
- public string targa { get; set; }
- public string data { get; set; }
- //public string ora { get; set; }
- public Automobili(string t, string d)
- {
- targa = t;
- data = d;
- // ora = o;
- }
- public void InfoAuto()
- {
- Console.WriteLine("Targa: {0}\nData e ora: {1}", targa, data);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement