Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ConsoleApp5
  4. {
  5.     abstract class Function
  6.     {
  7.         public int x;
  8.         public int y;
  9.  
  10.         public void F(int x, int y)
  11.         {
  12.             y = x;
  13.         }
  14.  
  15.     }
  16.    
  17.     class Line : Function
  18.     {
  19.         public int a;
  20.         public int b;
  21.        
  22.     }
  23.     class Kub : Function
  24.     {
  25.         int c;
  26.     }
  27.     class Hyperbola : Function
  28.     {
  29.  
  30.     }
  31.    
  32.     class Program
  33.     {
  34.         static void Main(string[] args)
  35.         {
  36.             Console.WriteLine("Hello World!");
  37.         }
  38.     }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement