CD Rental Colasaw

Submitted by colasaw2010 on
import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.text.*; import java.util.*; import java.io.*; import java.io.BufferedReader; import java.lang.*; public class CDGui extends JFrame{ private JTextField txtCDNo, txtCDTitle, txtCDArtist, txtCDType, txtCDStatus; private JLabel CDNo, CDTitle, CDType, CDStatus, CDArtist, lblTitle;

c# Array Part 2 (Using reference types)

Submitted by jin29neci on
Using arrays in c#, you can also declare arrays of custom types. In our example let’s start with a Customer class, having two constructors, 3 properties (FirstName, LastName, ContactNumber), and an override of ToString() method of the Object class.
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace ArraysPart2cs
  7. {