my idea was to create separated kontrola.cs file, where will be created any methods, those methods can be used by all other strategies. I want to store this file in "strategies" folder. I did this file and compile it successfull. I did second file with main strategy, that is also saved in folder "strategies". This concept works under NT7 ad I try to migrate it under NT8. By compiling this file, I receive two groups of exceptions and errors. 1) The name entryOrder does not exist in the current context. Vaiable entryOrder is defined in file kontrola.cs as public variable and I expected to see and use it in other strategy. 2) an object reference is required for the non-static field, method, or property...". I searched many sources but did not find relevant topics about this issue. Is this logic Ok, with one file of methods and many other strategies that refer to this file in strategies folder? If yes, how to solve this problem with reference?
Best regards tom
240314_NT8_TB_kontrola.cs
240314_NT8_Propojeni_s_dalsim_souborem.cs
Comment