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;
- using System.Text.RegularExpressions;
- namespace ConsoleApplication1
- {
- class Program
- {
- public class Rectangle : Shape
- {
- public int height, width;
- public Rectangle(int height,int width) { this.height = height; this.width = width; }
- public override double Square { get { return height*width; } }
- }
- }
- }
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using ConsoleApplication1;
- namespace Test_Access
- {
- class Program
- {
- static void Main(string[] args)
- {
- }
- }
- }
Add Comment
Please, Sign In to add comment