- 0
<C#> Inheriting from List<>
Asked by
inetscan,
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By sssplus · Posted
OK Microsoft, can you please fire the entire Windows team and hire those 20 Xbox developers instead to work on Windows? We'd all pretty much want to have a light and bloat free Windows! -
By LoneWolfSL · Posted
Call of Duty: Black Ops 7 is out this year, landing with a "mind-bending" co-op campaign by Pulasthi Ariyasinghe A surprise Call of Duty announcement landed during the Xbox Game Showcase event today, with Treyarch and Raven Software unveiling Call of Duty: Black Ops 7 as the next entry in the massively popular FPS franchise. While many were expecting the 2025 entry to be a Modern Warfare game, this will be the first time in the history of the series that two Black Ops games will be releasing back to back. Watch the teaser trailer above. Black Ops 7 will be set 40 years after the events of Black Ops 6, taking players to 2035 for a more futuristic experience. "Wielding cutting-edge technology, David Mason and his team must fight back against a manipulative enemy who weaponizes fear above all else," says the company. "The Black Ops universe is amazing. The creativity and imagination that goes into the storytelling, the rich character depth, and the incredible moment-to-moment gameplay across all modes is really exceptional," says Matt Cox, General Manager of Call of Duty. "As a team, our vision from the start was to create a back-to-back series experience for our players that embraced the uniqueness of the Black Ops sub-franchise." In another twist, the complete campaign will be playable in co-op in addition to offering solo play like usual. The story will follow a world that's on the brink of chaos, according to Treyarch, where violent conflicts and psychological warfare are rampant. Of course, a complete multiplayer portion with new maps and weapons, as well as another dose of round-based Zombies in the Dark Aether will be included in the package too. The complete reveal for Call of Duty: Black Ops 7 will be releasing later this year before the full launch The title is coming to PC, Xbox Series X|S, Xbox One, PlayStation 5, and PlayStation 4. Game Pass subscribers are gaining access on day one too. -
By LoneWolfSL · Posted
Indiana Jones and the Great Circle: The Order of Giants DLC launches this September by Pulasthi Ariyasinghe The Xbox Games Showcase gave a look at the next Indiana Jones adventure today. MachineGames showed up with a trailer for the first DLC pack coming to Indiana Jones and the Great Circle: The Order of Giants. Set in Italy, the fresh story will introduce new locations, puzzles, enemies and more. Watch the reveal trailer above. This Indy journey will be taking place during the main campaign and dive deeper into the tribe of giants, Nephilim Order, that players see in the base game. The story will kick off with Indiana Jones offering help to a young priest named Father Ricci, who is attempting to track down a mysterious artifact. The resulting journey expands into this separate storyline that takes the player beyond Vatican City to explore Rome's streets and the crypts beneath it. “One of the most satisfying parts of developing Indiana Jones and the Great Circle was the opportunity to create the Nephilim Order, the secret society of giants formed by descendants of fallen angels working to atone for their ancestral sins,” says Production Director John Jennings. “That story spans thousands of years and this DLC has given us the opportunity to develop further upon their lore and look at other aspects not covered in the initial story campaign. There’s something new and unexpected to tell here for fans of the game, and we can’t wait for people to be able to play it for themselves.” The Indiana Jones and the Great Circle: The Order of Giants DLC will be releasing on September 4, 2025. It will be available on PC, Xbox Series X|S, and PlayStation 5. Premium Edition, Premium Upgrade, Collector’s Edition, and Collector’s Bundle owners will be receiving the DLC for no extra charge at launch. -
By wingliston · Posted
Could we have a desktop version of this lightweight bloat free Windows 11? -
By d5aqoëp · Posted
So they admit that Windows 11 is slow and bloated. Good to know!
-
-
Recent Achievements
-
Epaminombas earned a badge
Dedicated
-
Yonah went up a rank
Veteran
-
viraltui earned a badge
First Post
-
viraltui earned a badge
Reacting Well
-
LunaFerret earned a badge
Week One Done
-
-
Popular Contributors
-
Tell a friend
Question
inetscan
I am trying to inherit from List<Blah> so essentially I have something like this:
class Foo : List<Blah>
{
...
private string _var1;
private string _var2;
public string Var1
{
get { return _var1; }
}
public string Var2
{
get { return _var2; }
}
...
}
Now the problem is when I go to serialize this I get back only a representation of the inherited List properties (the collection of Blah objects) and nothing in the Foo class like Var1 and Var2. If I pull the List<Blah> down into the class instead of inheriting from it, there are no issues. What is causing the serializer to miss the public properites of the Foo class?
Thanks and regards
Link to comment
https://www.neowin.net/forum/topic/496842-c-inheriting-from-list/Share on other sites
5 answers to this question
Recommended Posts