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 WindowsFormsApplication157
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- Bankkunde1 reftilobjekt = new Bankkunde1(1212124565, 5, 1000);
- reftilobjekt.cpr = 1000;
- }
- }
- }
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace WindowsFormsApplication157
- {
- class Bankkunde1
- {
- public Bankkunde1(int tempcpr, int temprente, int tempsaldo)
- {
- cpr = tempcpr;
- rente = temprente;
- saldo = tempsaldo;
- }
- public int cpr;
- public int rente;
- public int saldo;
- }
- }
Add Comment
Please, Sign In to add comment