Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

Thomas Gondorf

@Thomas Gondorf
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Extending System.Collections.Hashtable
    T Thomas Gondorf

    So, i throw this idea away and store the Hashtable Object in a member of SerializeableHashtable. That will work ... Thanks a lot for your help

    C# question csharp c++

  • Extending System.Collections.Hashtable
    T Thomas Gondorf

    Hi, I am new to C# and trying to create an extended Class Library that extends Hashtable. I have created a new class like this: 'public class SerializeableHashtable: System.Collections.Hashtable' In a method called Load i load a Hashtable object from file and try to set it to SerializeableHashtable like this: public System.Collections.Hashtable LoadHashtableForSample() { System.Collections.Hashtable table = new System.Collections.Hashtable(); return table; } public void Load() { this = LoadHashtableForSample(); // fails because this is readonly base = LoadHashtableForSample(); // fails because it is not the right context for base ?!? } Both of the things i try in Load fails. So the big question is: How can i assign the Hashtable object to SerializeableHashtable? (In C++ it works using the this pointer ...) Thanks a lot in advance Thomas

    C# question csharp c++
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups