[ create a new paste ] login | about

Link: http://codepad.org/jIeh9dTm    [ raw code | output | fork ]

C, pasted on Apr 4:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace musicDB
{
    class Music
    {
        private string nameofAlbum;


        private void SetName(string name)
        {
            nameofAlbum = name;
        }

        //public bool IsSame(string name)
        //{
            
            //int d = name.CompareTo(name);
            //if (d == 0)
            //    return true;
            //else
            //    return false;
        //}

        public Music(string name)
        {
            SetName(name);
        }

        public string getAlName
        {
            get { return nameofAlbum; }
        }
        
    }
}


Output:
1
2
3
4
5
6
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'musicDB'


Create a new paste based on this one


Comments: