How am I able to get the count of the Config? Like List.Count.
But as the Config is of the type DynamicConfigFile and it can not be converted to a List<object> or Dictionary<string, object>, Config.Count does not work.
Solved Getting count of Config?
Discussion in 'Rust Development' started by LaserHydra, Aug 3, 2015.
-
DynamicConfigFile implements IEnumerable.
So you can use extension method Config.Count() -
k