Skip to content

Instantly share code, notes, and snippets.

class Program
{
static void Main()
{
Post post = null;
Blog blog = null;
UrlHelper helper = null;
CodeTimer.Initialize();
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Dynamic;
using System.Xml.Linq;
using System.Xml;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
public abstract class ReadFreeCache<TKey, TValue>
{
protected ReadFreeCache()
: this(null)
{ }
protected ReadFreeCache(IEqualityComparer<TKey> comparer)
{
this.m_storage = new Dictionary<TKey, TValue>(comparer);
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.FSharp.Collections;
using System.Threading;
using System.Collections.Concurrent;
namespace CacheBenchmark
{
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Chat.aspx.cs" Inherits="CometServer.Chat" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Chat</title>
</head>
<body>
<script language="javascript" type="text/javascript" src="Scripts/jquery-1.3.2.min.js"></script>
static void Main()
{
var languages = GetLanguages();
var targetLanguages = languages.Select(
p => String.Format(
"{0}: {1}",
p.Value,
Translate("圣诞快乐", "zh-CN", p.Key)));
#light
module XmlSerialization
open System
open System.IO
open System.Xml
open System.Xml.Linq
open System.Xml.Serialization
open System.Runtime.Serialization
#light
module Blogging
open System
open System.IO
open System.Net
open System.Text.RegularExpressions
#light
module CnBlogsMonitoring.PostMonitor
open System
open System.Net
open System.IO
open System.Text.RegularExpressions
open System.IO.Compression
namespace SimpleConsole
{
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
/// <summary>
/// The main entry point for the application.