UTF8 Byte Array To String - CSharp System.Xml

CSharp examples for System.Xml:XML String

Description

UTF8 Byte Array To String

Demo Code


using System.Xml.Serialization;
using System.Xml;
using System.Threading.Tasks;
using System.Text;
using System.Linq;
using System.IO;//from w w  w . ja  va  2s.co m
using System.Collections.Generic;
using System;

public class Main{
        private static String UTF8ByteArrayToString(Byte[] characters)
        {
            UTF8Encoding encoding = new UTF8Encoding();
            String constructedString = encoding.GetString(characters);
            return (constructedString);
        }
}

Related Tutorials