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
M

Maarten1977

@Maarten1977
About
Posts
16
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Your Own Framework
    M Maarten1977

    Same here. No external library, just code snippets.

    The Lounge csharp dotnet wpf com windows-admin

  • Suck My Balls Cancer
    M Maarten1977

    I'm sorry, but kicking someone when he's down is highly offensive. You could have been a lot shorter and still get the point across. There was no reason to phrase it like this. Just my opinion.

    The Lounge com

  • Your next iPhone could cost more...
    M Maarten1977

    The EU didn't change rules retroactively, the rules Ireland offered to Apple were not legal according to EU rules. Therefore, Apple must pay some extra taxes to Ireland, and Ireland probably will get fined at some point by the EU.

    The Lounge ios business question announcement

  • Your next iPhone could cost more...
    M Maarten1977

    That is not what happened. See the linked article in the first post. "Member states cannot give tax benefits to selected companies - this is illegal under EU state aid rules," said Commissioner Margrethe Vestager. Since Ireland is part of the EU, it has to abide by the EU rules.

    The Lounge ios business question announcement

  • Visual Studio - how to change "var" to corresponding class
    M Maarten1977

    I think you're flaming 😂😂

    C# csharp visual-studio help tutorial question

  • IsSubclassOf - Why does it do this?
    M Maarten1977

    For me, to try to solve your question, it was necessary to ask for some more info. Working with AppDomains and dynamically loading assemblies is tricky, and I need to know what it is exactly that is loaded in the AppDomain, and what the start-up parameters are of said AppDomain (like the base-directory). My apologies if this was not to your liking. Good luck solving your problem.

    .NET (Core and Framework) question

  • Visual Studio - how to change "var" to corresponding class
    M Maarten1977

    I implied we were talking about developers and var, not how it affects reviewers. But fair enough I guess. If you know what GetDescendant() does, then you'll know the return type (assuming here). If you don't know what the method does, then maybe that should be made clear first. What is more important, the method and what it does, or the specific technical return type? I'm not trying to convince you of anything, I'm just trying to understand your way of thinking.

    C# csharp visual-studio help tutorial question

  • Visual Studio - how to change "var" to corresponding class
    M Maarten1977

    Ok, I'll bite. But I am not saying this or that, just interested in your opinion. Why wouldn't you use var? What's wrong with it?

    C# csharp visual-studio help tutorial question

  • Visual Studio - how to change "var" to corresponding class
    M Maarten1977

    But if you don't like the option that changes a fully-specified type to 'var', why are you using it? I'm assuming here that Resharper doesn't do that by itself, or if it does that it is a 'feature' that can be turned off. (No, I am not using Resharper myself, never have) (Yes, I do prefer 'var': it saves keystrokes; intellisense provides me with the name of type if I need it)

    C# csharp visual-studio help tutorial question

  • IsSubclassOf - Why does it do this?
    M Maarten1977

    More information is needed. - What is the base directory of the AppDomains? - How are you triggering the code in the AppDomain? - Is the SimplePlugins.DLL also stored in each plugin-subfolder? - Which assemblies are now loaded in the appdomain? Debug to find out the exact location. - 'Why doesn't IsSubclassOf find the specified derived type' - does not make sense. IsSubclassOf returns either true or false.

    .NET (Core and Framework) question

  • What is the correct code to invoke subscribers for an event?
    M Maarten1977

    The delegate is immutable. So handler -= someHandler; is not modifying or updating the original delegate, it is creating a new delegate which is then stored in handler. So the copy-of-the-handler is indeed a copy of the reference to the (immutable) delegate.

    C# question csharp help

  • What does software engineering look like, in practical terms?
    M Maarten1977

    And why do you have that opinion about an agile environment? What other alternative do you consider an option?

    The Lounge python com design game-dev functional

  • Using IEnumerable nonsense for everything
    M Maarten1977

    Linq is all about defining the query instead of the execution of the query. You say you can implement Except in a single line of code. Can you also do that for grouping, ordering, projection? And all those other possibilities, all used in combination? Using Ling you are sacrificing a little performance, and you are (read: should be) gaining a lot in maintenance. You can implement the above probably without problems. Can you also read the implementation of others without any problems? Using Linq you and your co-workers are all using the same methods, and therefor, can read each others code a lot easier, compared to a different implementation for you and every co-worker you have. Of course, you can completely kill the performance, and no-one will say that Linq is faster, and yes, you have to know what you are doing. But that is no different from all the 'other tools in your toolbox'.

    The Lounge question csharp

  • Using IEnumerable nonsense for everything
    M Maarten1977

    You can easily step into it using F11. You would see the deferred execution in action ;)

    The Lounge question csharp

  • Stackoverflow website sucks because of its moderators and Top Users
    M Maarten1977

    Oh my, such negativity towards SO. I've been a long time user of the site myself, and while I am not saying it is perfect, most answers I see do try to help the person asking the question by answering the question as best as possible. It is true that a question that to be exactly that (a specific question) and not a general 'how do I do this or that?'. Also it is appreciated that you have tried something, and are stuck (see http://whathaveyoutried.com/). And yes, I think both things are fair to ask.

    The Lounge question

  • Disabling the pesky "xyz program has encountered an error..."
    M Maarten1977

    How about the AppDomain.UnhandledException Event? http://msdn.microsoft.com/en-us/library/system.appdomain.unhandledexception.aspx[^]

    The Lounge com windows-admin help question career
  • Login

  • Don't have an account? Register

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