Skip to content

Instantly share code, notes, and snippets.

View EricSch's full-sized avatar
🏠
Working from home

Eric Schoenholzer EricSch

🏠
Working from home
View GitHub Profile
[CompilerGenerated]
private sealed class <Zip>d__0<T1, T2> : IEnumerable<KeyValuePair<T1, T2>>, IEnumerable, IEnumerator<KeyValuePair<T1, T2>>, IEnumerator, IDisposable
{
// Fields
private int <>1__state;
private KeyValuePair<T1, T2> <>2__current;
public IEnumerable<T1> <>3__first;
public IEnumerable<T2> <>3__second;
private int <>l__initialThreadId;
public IEnumerator<T1> <firstEnumerator>5__1;
public static class LocalizationHelpers
{
public static string Resource(this HtmlHelper htmlhelper, string expression, params object[] args)
{
string virtualPath = GetVirtualPath(htmlhelper);
return GetResourceString(htmlhelper.ViewContext.HttpContext, expression, virtualPath, args);
}
public static string Resource(this Controller controller, string expression, params object[] args)
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Collections;
using System.Windows.Forms;
namespace ListNetworkComputers
{
#region NetworkBrowser CLASS
/// <summary>
namespace CpuUsage
{
using System;
using System.Diagnostics;
public class CpuMeter : IDisposable
{
private CounterSample _startSample;
private readonly PerformanceCounter _cnt;