I want to typedef a 2-dimensional Dictionary to a more readable type. Normally you would use
using MySQLDataTable= Dictionary<string, Dictionary<string, string>>;
but it seems that Unity doesn't support namespaces, causing the compile to fail with the following errors:
Assets/System/MySQL.cs(79,23): error CS0246: The type or namespace name `MySQLDataTable' could not be found. Are you missing a using directive or an assembly reference?
Assets/System/MySQL.cs(8,19): error CS0246: The type or namespace name `Dictionary`2' could not be found. Are you missing a using directive or an assembly reference?
Is there any work around so I don't have to use variables types like
SortedDictionary<int, SortedDictionary<string, object>>
?
yes unity do not support namespaces. everything is defined in global namespace
– Ashkan_gcNot even remotely true
– anon85704231