xml - How to seriliaze one property with two elements -


i want seriliaze below class below xml type.

public class parser {     [xmlelement("group1/type1")]    public string items { get;set;}  } 

xml:

<parser><type1>value</type1 <parser> 

is possible without creating class type property?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -