Posts by nmapv • 1 point
2 posts
- 
		-1 votes1 answer44 viewsQ: C# deserializar Enum that does not existI have a class that has as attribute an Enum, for example the class below: public enum Model { Volvo = 1, Ferrari = 2, Gurgel = 3 } public class Car { public Model model { get; private set; } public… 
- 
		-6 votes4 answers145 viewsA: How to count strings from a variableLet’s think that "/" always follows this informed pattern. declare @myvar varchar(20) set @myvar = 'AVANTE / PDT / PODE / PMN' select (len(@myvar) - len(replace(@myvar,'/',''))) + 1 Another way is…