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 WindowsFormsApplication1
- {
- class Contact
- {
- public string FirstName { get; private set; }
- public string LastName { get; private set; }
- public string PhoneNumber { get; private set; }
- public Contact(string FirstName, string LastName, string PhoneNumber) //Dessa kan inte ha samma namn som egenskaperna
- {
- FirstName = firstname; osv osv!
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement