c# - Dictionary Inconsistent Accesability -
i error in code below on first mention of word tables. need dictionary usable classes.
the error reads:
error 1 inconsistent accessibility: field type 'system.collections.generic.dictionary' less accessible field 'riskratingreevaluation.riskratinglogic.tables' c:\users\jholland\documents\visual studio 2012\projects\riskratingreevaluation\riskratingreevaluation\riskratinglogic.cs 13 49 riskratingreevaluation
public static class riskratinglogic { public static dictionary<string, table> tables; public static void main() { tables = new dictionary<string, table>(); importregionindexes(tables);
any suggestions of change?
it sounds table class not public
. error sounds, 1 class less accessible (public, internal, private, protected) 1 calling it
take @ the accessibility levels
Comments
Post a Comment