Skip to content

Instantly share code, notes, and snippets.

View tnngo2's full-sized avatar

Chris Ngo tnngo2

View GitHub Profile
using System;
namespace Theory_9
{
class AnonymousMethods
{
private delegate void Display();
static void Main(string[] args)
{
Display objDisplay = delegate()
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Automotive
{
/// <summary>
/// This program demonstrate the use of Iterators in C#.
///
using System;
using System.Collections.Generic;
using System.Text;
namespace Automotive
{
/// <summary>
/// Class SportsCarTest is used to test the SportsCar class.
/// </summary>
class SportsCarTest
public class Automobile<T, U>
{
/// <summary>
/// Array to store values of any data type.
/// </summary>
public T[] itemOne;
/// <summary>
/// Array to store values of any data type.
/// </summary>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Theory8;
namespace Theory8_2
{
class Customer
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Theory8
{
class NamedIterators
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Theory8_1
{
interface IDetails
{
void GetDetails();
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Theory8
{
class Customer
{
public int Id = 5;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Theory8
{
class Customer
{
public int Id = 5;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Theory8
{
interface IMaths<T>
{
T Addition(T valOne, T valTwo);