I'm working on a Content Management Server project developing a MVC
based on a dynamic place holder control. One thing that I have some
questions about is session management. What I would like to do is mimic
the behaviour found in the helper bean in Stuts, BUT make it more
generic. I would like to create a class that stores mulitple
collections or strings based on a generic add method. Can generics do
this? This way I can add collections or single item strings, persist
this one helper object via ASP.NET session and allow the controls to
get their specific strings or collection on initialize via a get
accessor. So there would be an add method that accepts a object say a
collection or a string and maps it with a name. Then using the
get("name") it would automatically return the object with the type for
use. Thanks!