Torna al Thread

class Room { private String Title; private String guid = System.Guid.NewGuid().ToString(); public Room (String title) { this.Title = title; this.InstanceID = this + "." + guid; } public String InstanceID { get; private set; } // Nel costruttore inizializzo con l'ID (Guid) del nuovo oggetto }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5