What do you want to save?
Add Code snippet
New code examples
-
C# 2021-09-27 17:05:03
c# get subnet mask
/* Copyright (c) 2010 Jean-Paul Mikkers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, in... Add solution -
C# 2021-09-26 22:40:03
running in new thread mvvm light C#
public class MainViewModel : ViewModelBase { public const string StatusPropertyName = "Status"; private bool _condition = true; private RelayCommand _startSuccessCommand; private string _status; public RelayCom... Add solution -
C# 2021-09-21 01:36:01
how to convert a number to 2 decimal places in c#
// just two decimal places String.Format("{0:0.##}", 123.4567); // "123.46" String.Format("{0:0.##}", 123.4); // "123.4" String.Format("{0:0.##}", 123.0); // "123" Add solution -
C# 2021-09-20 22:08:03
asp net core image server
[HttpPost] public ActionResult RetrieveImage() { Image img = db.Images.OrderByDescending (i=>i.Id).SingleOrDefault(); string imageBase64Data = Convert.ToBase64String(img.ImageData); string imageDataURL = string.Format("data:image/jpg... Add solution