Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RdfDocument rdfDoc = new RdfDocument();
- Car car = new Car("myCarUri", rdfDoc);
- Vehicle vehicle = car; // implicit casting
- CompanyAsset companyAsset = car; // implicit casting
- vehicle.WheelCount = 4;
- companyAsset.MonetaryValue = 15000;
- Console.WriteLine(rdfDoc.ToN3());
- myCarUri typeOf Car
- myCarUri WheelCount 4
- myCarUri MonetaryValue 15000
Add Comment
Please, Sign In to add comment