Format:
Recent snippets matching tags of console
//Writes colored text to the console and allows to clear previously written lines //as long a not line break is present //Sample - screenshot at http://img299.imageshack.us/img299/3931/consolex.png C.InfoLine("Non-colored text..."); C.Error("Outch, an error."); Thread.CurrentThread.Join(1000); C.ClearLine();
335 Views
no comments
public class ConsoleSpinner { const int MaxSegmentIndex = 3; readonly char[] _segments = new [] { '\\', '|', '/', '-'}; readonly int _left; readonly int _top; int _curIndex;
523 Views
no comments
Module Module1 Sub Main() Dim InputXml = <?xml version="1.0" encoding="utf-8"?> <users> <user id="1" name="Eduardo"/> <user id="2" name="Luciano"/> <user id="3" name="Ricardo"/> </users>
378 Views
no comments
Imports System.Text.RegularExpressions Module Module1 'http://learn.open.ac.uk/mod/oublog/viewpost.php?post=23031 'www.ForkandBeard.co.uk Sub Main() Dim strUserNumbers As String() strUserNumbers = New String() { _
441 Views
no comments
Imports System.Text.RegularExpressions Module Module1 Sub Main() Dim strUserNumbers As String() strUserNumbers = New String() { _ "H0W_BOvThemy84kies" _ , "01543 MWC66" _ , "8" _
307 Views
no comments
namespace SignAndEncryptXmlDocumentConsoleApplication { using System; using System.IO; using System.Security.Cryptography; using System.Security.Cryptography.Xml; using System.Xml; class Program {
669 Views
no comments
namespace Guerche.Evaristo.Luciano.Utils.ComputerInfo { using System; using System.Linq; using System.Net.NetworkInformation; class Program { static void Main(string[] args) {
356 Views
no comments
#region Helpers static void LoopWork(Action work, int count) { if (count < 0) return; for (int i = 0; i < count; i++) work(); } static void TimeWork(Action work, string workTitle) {
262 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
