The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
If a really dumb foreigner sneaks into your country, would they be an illegal ignorant?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
Meaning, make an anchor tag with a URL that points to that page, even if I rename the page or move it or whatever.
It probably breaks if my page is in an(other) area, which hasn't happened, but at least I get some strong typing while still keeping to naming conventions (which in Razor Pages is that mysite.com/Whatever routes to WhateverModel).
Now the issue is that I don't actually use the IUrlHelper, so VS is giving me a warning to remove the unused variable.
As a fix, it suggests I add a SuppressMessageAttribute, which suppresses the message for that specific method.
However... Once I have the SuppressMessageAttribute, VS finds nothing to suppress anymore and I get a warning to remove the unnecessary SuppressMessageAttribute
It seems as though this only happens when I restart VS though, because when I remove and re-add the attribute the warning does not return.
The truth is that your body needs a lot of potassium to be healthy. Estimates vary, but according to the National Institutes of Health, a grown man needs around 3.4 grams and a woman around 2.6 grams daily of the metal.
And yes - all potassium contains a tiny amount of the radioactive K-40 isotope. But how active is this isotope? Well, it has a half life of over a billion years! It's hardly active at all. In any case, virtually all foods contain potassium. Being deficient in potassium is far more dangerous than ingesting a tiny amount of K-40 with every bite.
And although bananas are high in potassium, many other foods are also high. See a list here: