How can I inherit attributes?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael

    #1

    How can I inherit attributes?

    Hi,

    I create an abstract baseclass with the attribute [Serializeable].
    I want that all classes that inherit thate baseclass also iherhit
    [Serializeable].
    How can I do that?. It seems to me that I have to write the attribute to
    each class manualy.
    Tryed in .NET 1.0, 1.1 und 2.0.

    Thanks for a fast answere
    Michael


Working...