VisualStudio

Hello. My English is still not so good.
Sorry for any inconvinience I may cause you.

A question
I want to use 【C#7】 and【System.ValueTuple】 in VisualStudio.

I attempted to download System.ValueTuple using NuGet
but try installing to a project targeting [NETfreamwork, Version = v3.5, Profile = UnitySubset v3, 5]
but compatible assemblies are added to the file There was an error if the package was not included.
So I can not install it

If you know anything about that please let me know.

C#7 isn’t supported by Unity.

Thank you for giving me good advice.
I am a designer writing codes with reference to Japanese unity textbooks.
The following code is written in the book.

int kind = UnityEngine.Random.Range(0, templeLevel + 1);
switch (kind) {
case 0:
orb.GetComponent().SetKind(OrbManager.ORB_KIND.BLUE);
break;
case 1:
orb.GetComponent().SetKind(OrbManager.ORB_KIND.GREEN);
break;
case 2:
orb.GetComponent().SetKind(OrbManager.ORB_KIND.PURPLE);
break;
}

It seems to be using the function called 【Tuple】
That seems to be the function of c # 7

Is there any good way to do it?

What part of that do you think is a Tuple?

I’ve seen the “tuple” error before; it usually means you’re missing a semicolon at the end of a line somewhere. It doesn’t actually have anything to do with tuples. Double check your code and make sure you copied it exactly from the book.

VisualStudio is pointing out.
But I am not a programmer so I do not know how wrong.

I got an indication that the semicolon is missing, so I will try to find out. Thank you.

Thank you for answering.
I will check if the semicolon is missing.