private int DeviceCounter(DVD dvd, double MemoryData) { return(Int32.Parse(Math.Ceiling(MemoryData / dvd.getMemory()).ToString())); }
private void DeviceCounter(DVD dvd, double MemoryData, out int count) { count = Int32.Parse(Math.Ceiling(MemoryData / dvd.getMemory()).ToString()); }