BigInteger on Mac
Проблем със сетването на BigInteger във Вижуал Студио на Mac / подчертава го с червено, значи не може да създаде променлива от тип BigInteger или?
using System;
namespace BigInteger
{
class MainClass
{
public static void Main(string[] args)
{
BigInteger n = 0.00;
Console.WriteLine(n);
}
}
}
само че червената вълнообразна линийка не се вижда!
Sorry, but your exaple doesn't work either on my Mac VS. How can I send you a screenshot? At the very beginning as I try to write BigInteger, there is no proposal beneath the line I am writing in. You know, when you begin to write for example "int", you tip the first letter "i" and at the same time underneath appears "int" as the third proposal. But not with BigInteger - the only proposal I get is BitConverter! As soon as I tipped BigInteger it is automatically red underlined and stays so! Thnx!
Колегата Axiomatik те беше посъветвал да сложиш този using ==> using System.Numerics; <== пробва ли да го добавиш?
Kопирах точно неговия код и сега са ми с червено подчертани Numerics и двата Biginteger ?
I just copied your code and now I have RED underlined Numerics and both BigInteger?
If namespace is set to bigInteger instead of BigInteger, than the code should be running.
namespace bigInteger => correct
namespace BigInteger => error, will prevent BigInteger to work, because compiler does not understand whether to implement namespace or BigInteger.
Otherwise, I don't see another reason why the code is failing to work, using System.Numerics should not be highlighted in red.
Best,