What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-11 08:20:09
ef core linq
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace HelloApp { public class Program { public s... Add solution -
C# 2022-03-09 22:25:06
get random file in directory c#
using System.IO; using System.Collections; var files = Directory.GetFiles("C:/path_example/example", "*.png"); //.png can be changed to match any other desired extentions string randomFilePath= files[Random.Range(0,files.Length)]; //e... Add solution