c# - The type or namespace name" 'BigInteger' could not be found -


seriously bummed this. wanted give biginteger's spin, but:

the type or namespace name" 'biginteger' not found ...

i know how add assembly references , such, there no system.numerics present @ - or i'm , utterly blind.

how fix?

using microsoft visual studio community 2015.

in project properties:

target framework: .net framework 4.5.2


system.numerics present (and selected) in frameworks:

enter image description here

but still, simple:

 using system;  using system.numerics;   namespace cchft  {      class program      {          static void main(string[] args)          {              biginteger b = 0;              console.writeline($"...{b}");          }      }  } 

...fails error message mentioned earlier.

it appears you're not looking in right place. screenshot can see you're missing ton of system. assemblies, , ones shown have older versions. looks see under com -> type libraries section of references manager window.

try selecting assemblies -> framework. should see "targeting: .net framework 4.5.2" @ top, , system.numerics 4.0.0.0 in list:

enter image description here

also, ensure after clicking 'ok' on references window, reference appears under project properties:

enter image description here


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -