Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace WindowsFormsApplication158
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- Bankkunde RefTilBankkunde = new Bankkunde(1212121212,5,1000);
- }
- }
- }
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace WindowsFormsApplication158
- {
- class Bankkunde
- {
- int cpr;
- int rente;
- int saldo;
- public Bankkunde(int tempcpr, int temprente, int tempsaldo)
- {
- cpr = tempcpr;
- rente = temprente;
- saldo = tempsaldo;
- }
- }
- }
Add Comment
Please, Sign In to add comment