What do you want to save?
Add Code snippet
New code examples
-
C# 2022-01-27 18:41:06
combine array c# with unique value
using System; using System.Linq; public class Program { public static void Main() { string[] array1 = { "Ice", "Box", "Fox", "Glass", "Dog" }; string[] array2 = { "Pig", "Box&quo... Add solution -
C# 2022-01-27 08:05:03
c# check if object is instance of class
using System; public interface IExample {} public class BaseClass : IExample {} public class DerivedClass : BaseClass {} public class Example { public static void Main() { var interfaceType = typeof(IExample); var base1 = new B... Add solution -
C# 2022-01-27 01:47:36
c# how to get current user picture folder
// Sample for the Environment.GetFolderPath method using System; class Sample { public static void Main() { // Gets the current user Pictures folder Console.WriteLine("GetFolderPath: {0}", Environment.GetFolde... Add solution -
C# 2022-01-26 07:45:27
how to remove white spaces from string in c#
using System; using System.Text.RegularExpressions; public class Program { public static void Main() { string yourString = "The value is: 99 086.78"; string newString = ""; // MUST set the Regex result to a variable for it to ta... Add solution -
C# 2022-01-26 04:01:22
start public coroutine from another script unity
using UnityEngine; using System.Collections; public class myCallTimer : MonoBehaviour { void Start() { //myTimer script attach at Main Camera, than StartCoroutine(Camera.main.GetComponent<myTimer>().Counter()); } } Add solution