Advertisement
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;
- namespace ConsoleApplication1
- {
- static class valoriRandom
- {
- static Random r = new Random();
- static public int valRndom()
- {
- return r.Next(0, 1000);
- }
- }
- }
- public Mezzo(string t, int c, string m, string mo, int l, int a)
- {
- num = num = valoriRandom.valRndom();
- targa = t;
- cilindrata = c;
- marca = m;
- modello = mo;
- larghezza = l;
- altezza = a;
- tariffa = 0.0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement