Results 1 to 8 of 8

Thread: Operator overloading Issue

Threaded View

  1. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Question Re: Operator overloading Issue

    Execuse me .Can you tell me ?why the following code is Not Compiling?.let me know some hints please.
    Code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    
    namespace Example13
    {
        class Boxme
        {
            int itakeObj(Object x)
            {
                Console.WriteLine(x);
            }
            object iSpitObs()
            {
          
           int v;
           v=5;
           BoxMe Up=new Boxme();
           up.itakeObjs(virtual);
           int boxBox=(int)up.isitObjs();
                }
        }
    }
    Last edited by firoz.raj; May 30th, 2011 at 02:08 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width