|
If you can't upgrade your project to .NET 4.7.2, you'll need to add a reference to the System.ValueTuple package:
NuGet Gallery | System.ValueTuple[^]
Looking at the dependencies, it claims to work as far back as .NET 4.5.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
interesting, but i think this is a C# language feature. I need to use 7.1 or maybe 7.2
I was using nameless tuples before - using that reference you pointed out (already ships with .NET core 2.1)
It compiled fine.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
My C# compiler insists otherwise
EDIT: Misread you. I am using implicitly named tuples
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
For VS2017, you'll need to change the language version under Properties ⇒ Build ⇒ Advanced.
If you upgrade to VS2019, it should automatically be set to use "latest minor", so you shouldn't need to do anything unless you're sharing the project with VS2017 users.
Select the C# language version - C# Guide | Microsoft Docs[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Fair enough. I'm not gonna do that though. Too much churn for others to build my code.
I think i might rewrite, as i ran into another problem too.
.NET Core's dictionary supports new Dictionary<tkey,tvalue>(new KeyValuePair<tkey,tvalue>[] {});
the others don't, which is ASININE.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
I already wrote all of my code generation around this constructor LOL
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Adding, I'm actually excited about .NET 5 - since it represents the merger of all these now disparate .NET technologies. I'm getting version fatigue
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
codewitch honey crisis wrote: so I took someone's advice here about the way i declare tuples. Never take advice from strangers on the internet
|
|
|
|
|
1999: "Never get into cars with strangers"
2009: "Never meet a stranger from online"
2019: "Literally just flag a stranger down on the internet, summon them to your home and then get in their car"
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Well.. now sometimes it seems to work for a (short) while...
I guess this is progress, right?!
Vector Eraser
I think I understand the nature of the (occasional) bug / numerical rounding issue.. I just seem to miss it sometimes..
(I already work around it when I detect it which made my thing go from immediately broken to.. wait for it! )
Well... I am closer than ever at any rate!
|
|
|
|
|
|
Ta! ❤
|
|
|
|
|
|
I do not use any app that requires me to share my contacts. I did have wotsapp installed for approx. 40 seconds before I removed it.
Telegram on the other hand asks for access, but nicely accepts if I decline.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
What's that?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
What sap would install that!
Socialism is the Axe Body Spray of political ideologies: It never does what it claims to do, but people too young to know better keep buying it anyway. (Glenn Reynolds)
|
|
|
|
|
As a follow up to Griffs post yesterday, my new place is clearly visible on this satellite imagery......which is nice. You can see for yourself where I will be spending 6 months of the year now.
MarineTraffic: Global Ship Tracking Intelligence | AIS Marine Traffic
Ps. For the record, the oil slick in the picture (if you zoom out a couple of levels) has nothing to do with me!
|
|
|
|
|
I'd have a word with the canteen if I was you - someone farted in the bottom left.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Look! DaveAuld is working in a really grey area!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
If you hover over the "wavy flag" in the top right (just below the "zoom" buttons) you can select the "Satellite Map" which shows the rig.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Cool feature. And now we know it is grey for real!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
A 1990s website! Havent seen one of those for a while!
|
|
|
|
|
DaveAuld wrote: Ps. For the record, the oil slick in the picture (if you zoom out a couple of levels) has nothing to do with me!
That's what we all say. Always.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|