Results 1 to 26 of 26

Thread: [RESOLVED] Method overridiing Issue

Threaded View

  1. #21

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

    Question Re: Method overridiing Issue

    can anybody tell me ?why saying invalid token.
    Code:
    using System;
     class baseIO
             {
            public string FileName;
                public int Delete()
                  {
                Console.Writeline("This is the delete Method of the BaseIO Class");
                return(0);
                   }
                  
                  class imageIO :baseIO 
                     {
                   public string imgformat;
                   public int alphaBlend()
                        {
                       Console.WriteLine ("This is the alpha Blending method of the imageIO Class");
                       return(0);
                         }
                      }
               class Test
                 {
               static void Main()
                 {
                imageIO obj=New imageIO();
                obj.FileName ="ffffffff";
                obj.Delete();
                       }
                      }
    Last edited by firoz.raj; Jul 11th, 2010 at 11:14 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