CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of parse
C#
using System;
using System.IO;
 
class Program
{
    static void Main()
    {
    //
    // It will free resources on its own.
    //
January 26, 2012 @ 7:26am
45 Views
no comments
 
C#
//using System.Globalization;
CultureInfo culture = new CultureInfo("en-AU");
DateTime week_start = Convert.ToDateTime("27/07/2011", culture);
by Egli   August 01, 2011 @ 12:27am
129 Views
no comments
 
/**
 * Evaluate DSL expression and return filter value
 * @param dslExpression
 * @param filters
 * @return
 */
private String evalDslExpression(String dslExpression, Map<String, Filter> filters) {
    // Get filter name
    StringTokenizer dslTokenizer = new StringTokenizer(dslExpression, ".(");
    String filterName = dslTokenizer.nextToken();
by Fernando Claverino   October 18, 2009 @ 9:21pm
276 Views
no comments
 
C#
using System;
using System.Runtime.InteropServices;
 
 
/// <summary>
/// Class that encapsulates the Win32 function CLSIDFromString.  Idea taken from
/// http://stackoverflow.com/questions/104850/c-test-if-string-is-a-guid-without-throwing-exceptions/287877#287877
/// </summary>
public static class GuidHelper
{
by Jon Sagara   September 22, 2009 @ 9:46pm
Tags: Guid, TryParse, C#, .NET
395 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate