What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-02 17:50:17
hwo to convert list of custom class to a byte
using System.IO; using System.Runtime.Serialization.Formatters.Binary; byte[] bytes = null; BinaryFormatter bf = new BinaryFormatter(); using (MemoryStream ms = new MemoryStream()) { //categoryList is where you put the list that you want to convert ... Add solution -
C# 2022-01-31 07:15:06
untiy interface
using UnityEngine; using System.Collections; //This is a basic interface with a single required //method. public interface IKillable { void Kill(); } //This is a generic interface where T is a placeholder //for a data type that will be provided by t... Add solution