All pastes #744148 Raw Edit

RickyWh

public text v1 · immutable
·published 2007-10-21 03:41 UTC
rendered paste body
using System;
using System.Collections.Generic;
using System.Text;

namespace RickysNamespace
{
    public class PandaBears
    {
        public int name;
        public static int population = 0;

        public PandaBears(string inputName)
        {
            this.name = inputName;
            population += 1;
        }
    }

    public class Ricky
    {
        public static void Main()
        {
            PandaBears Ricky = new PandaBears("Ricky");
            PandaBears Michelle = new PandaBears("Michelle");

            Console.WriteLine(Ricky.name);
            Console.WriteLine(Ricky.name);
        }
    }
}