Created
April 18, 2018 06:47
-
-
Save pmikstacki/82ce0bd215ce38be9db2fc3e650f4483 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.CodeDom; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace hhh | |
{ | |
public class Samochod | |
{ | |
private Przyczepa przyczepa; | |
private string marka; | |
private string kolor; | |
public Przyczepa PrzyCzepa | |
{ | |
get { return przyczepa} | |
set { przyczepa = value; } | |
} | |
public string Marka | |
{ | |
get { return marka; } | |
set { marka = value; } | |
} | |
public string Kolor | |
{ | |
get { return kolor; } | |
set { kolor = value; } | |
} | |
public Samochod(string marka, string kolor) | |
{ | |
Marka = marka; | |
Kolor = kolor; | |
} | |
public Samochod(string marka, string kolor, Przyczepa p) | |
{ | |
Marka = marka; | |
Kolor = kolor; | |
} | |
public void Pisz() | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment