Skip to content

Instantly share code, notes, and snippets.

@pmikstacki
Created April 18, 2018 06:47
Show Gist options
  • Save pmikstacki/82ce0bd215ce38be9db2fc3e650f4483 to your computer and use it in GitHub Desktop.
Save pmikstacki/82ce0bd215ce38be9db2fc3e650f4483 to your computer and use it in GitHub Desktop.
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