Category: Programming

How to: Parse an Enumeration 0

How to: Parse an Enumeration

  You can simply use the Enum.Parse() function as shown below: using System; [Flags] enum Colors { None=0, Red = 1, Green = 2, Blue = 4 }; public class Example { public static...

where does the system.servicemodel section go? 0

where does the system.servicemodel section go?

Within the Configuration section: xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?> <configuration>   <system.serviceModel>   </system.serviceModel> </configuration>