Skip to content

Instantly share code, notes, and snippets.

Sach sachintha81

Block or report user

Report or block sachintha81

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sachintha81 / MainWindow.xaml.cs
Last active Oct 20, 2019
WPF Progress Bar in a separate Window
View MainWindow.xaml.cs
using System;
using System.ComponentModel;
using System.Threading;
using System.Windows;
namespace WPFProgressBar
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
sachintha81 / TrueRandomNumbers.cs
Created Jan 30, 2017
C# True (almost) Random Number Generator
View TrueRandomNumbers.cs
//The following sample uses the Cryptography class to simulate the roll of a dice.
using System;
using System.IO;
using System.Text;
using System.Security.Cryptography;
class RNGCSP
private static RNGCryptoServiceProvider rngCsp = new RNGCryptoServiceProvider();
You can’t perform that action at this time.