SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace WindowsFormsApplication2
  7. {
  8.    public class Class1
  9.     {
  10.        public double textbox1;
  11.        public double textbox2;
  12.        public double textbox3;
  13.  
  14.        public void Class(double x, double y)
  15.        {
  16.            textbox1 = x;
  17.            textbox2 = y;
  18.        }
  19.        public double srednia()
  20.        {
  21.            return (textbox1 + textbox2) / 2;
  22.        }
  23.     }
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top