CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2010
    Location
    .NET 3.5, VisualStudio-2008
    Posts
    30

    Base class library

    Hi,

    Is it posible to add a user defined class into a base class library in C#? if yes plz give me the procedure.

    Thanks in advance

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Base class library

    Yes, if you don't need BCL assemblies to be signed by Microsoft"s key, which I think is not good idea. But you can classes from BCL quite easily extend with extension methods, which I think is better approach.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  3. #3
    Join Date
    Mar 2010
    Location
    .NET 3.5, VisualStudio-2008
    Posts
    30

    Re: Base class library

    Could you plz explain it further with an example

  4. #4
    Join Date
    May 2007
    Posts
    1,546

    Re: Base class library

    For all intents and purposes, no you can't do this unless you plan on redistributing a 100% custom BCL to all users of your application/library.
    www.monotorrent.com For all your .NET bittorrent needs

    NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.

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

Featured