R
Ricardo Sta. Rita
Hello people,
We have been dealing with for a long time now. It's a bit weird for a
newcomer like us so we decided to ask the geniuses here.
C# doesn't seem to be assigning values, consider the lines of codes below:
------------------------------------------------
using Sem = semantics.SemanticsProcessingClass;
------------------------------------------------
//We created an instance of the class
Sem MySem = new Sem();
//This is where the problem is
string semSuggWords = MySem.fileContent;
----------------------------------------------
The value of the fileContent is not being stored. We have tried different
approaches and still no values. The debugger is telling us that it is "out
of scope".
Even a simple value assignment like this doesn't seem to work: string
semSuggWords = "test";
One solution we which indeed fixed it and finally made it possible to assign
a value to the newly created variable is declare it as a class field. Weird,
it would mean we have to declare all vars as fields.
Anyone encountered this problem?
Thanks in advanced.
Best,
Ricardo Sta. Rita
We have been dealing with for a long time now. It's a bit weird for a
newcomer like us so we decided to ask the geniuses here.
C# doesn't seem to be assigning values, consider the lines of codes below:
------------------------------------------------
using Sem = semantics.SemanticsProcessingClass;
------------------------------------------------
//We created an instance of the class
Sem MySem = new Sem();
//This is where the problem is
string semSuggWords = MySem.fileContent;
----------------------------------------------
The value of the fileContent is not being stored. We have tried different
approaches and still no values. The debugger is telling us that it is "out
of scope".
Even a simple value assignment like this doesn't seem to work: string
semSuggWords = "test";
One solution we which indeed fixed it and finally made it possible to assign
a value to the newly created variable is declare it as a class field. Weird,
it would mean we have to declare all vars as fields.
Anyone encountered this problem?
Thanks in advanced.
Best,
Ricardo Sta. Rita