Environment.GetResourceString
I had to reverse engineering other vendor code .Since i have to hack his code.I jumped few problem but still can understand c# code(** I'm a php oop developer full time).The only last part was Enviroment.GetResourceString was not found.Some said it was in .net framework 2.0.I have install .net framework 2.0 sdk and also compact edition.But still visual web developer cannot find the function.Any idea to change Enviroment.GetResouceString to other function ? Operatin开发者_JS百科g System : Windows 2008 r2 Web Edition 64 bit
throw new ArgumentOutOfRangeException("maxValue", string.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_MustBePositive"), new object[] { "maxValue" }));
Take a look at this question: Unable to use Environment.GetResourceString static method
It existed in the 2.0 Compact Framework but never (as a public method) anywhere else.
See this answer: Unable to use Environment.GetResourceString static method
精彩评论