Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

serialize xml as array C#

<?xml version="1.0" encoding="utf-8"?>
<sheet>
  <rows>
    <row>1</row>
    <row>2</row>
  </rows>
</sheet>


[XmlRoot("sheet")]
public class Sheet
{
    [XmlArray("rows")]
    [XmlArrayItem("row")] 
    public Row[] Rows;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# selenium xunit testing 
Csharp :: c# int to string date conversion 
Csharp :: c sharp system pause equivelent 
Csharp :: unity datetime to string 
Csharp :: c# integer part of float 
Csharp :: administrative priviledge in c# 
Csharp :: how to add gravity without rb in unity 
Csharp :: unity find all scriptable objects of a type 
Csharp :: sto playing audiosource 
Csharp :: remove empty strings from list c# 
Csharp :: c# get file author 
Csharp :: how to find the biggest number in c# 
Csharp :: c# convert string to array 
Csharp :: cursor position c# 
Csharp :: Response.Redirect cannot be called in a Page callback 
Csharp :: input.getbutton unity 
Csharp :: Palindromic substrings 
Csharp :: method c# 
Csharp :: C# Async Function simple 
Csharp :: unity how to check serialized enum 
Csharp :: create class for database connection in c# 
Csharp :: narcissistic 
Csharp :: catch multiple exception c# 
Csharp :: how to configure visual studio for unity 
Csharp :: truncate c# 
Csharp :: inheritance 
Csharp :: C3 compare hour 
Csharp :: for loop c# to print times tables 
Csharp :: lock a cache in asp.net 
Csharp :: nuget Microsoft.EntityFrameworkCore.InMemory": "1.0.0" 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =