Saturday, March 21, 2015

Quering IP Address


using System.Windows.Forms;
using System.Net; //Added
using System.Net.Sockets; //Added

Simple Server and Client Application


Simple Server in Console
using System.Threading.Tasks;
using System.Net;//we add this using system
using System.Net.Sockets;//we add this using system

Friday, March 20, 2015

Using DNS Class

...
using System.Windows.Forms;
using System.Net; //Added
using System.Net.Sockets; //Added

Thursday, March 12, 2015

Throwing Exceptions From Task


using System.Text;
using System.Threading.Tasks;

namespace ThrowingExceptionsFromTask
{

Friday, March 6, 2015

Fibonacci Async Lab


using System.Windows.Forms;
using System.Threading; //Added

AsyncAwait Lab Project



using System.Windows.Forms;
using System.Threading; //Added

Count Vowels From text files in Debug Folder


using System.Windows.Forms;
using System.IO; //Add to work with fileSystem

namespace ZauBawk_CountVowelsFromTxtFiles
{

Five Parallel loop in Console Application


using System.Threading.Tasks;
using System.Collections.Concurrent; //Added to use BlockingCollection
using System.Threading; //Added to use CancellationTokenSource

namespace ZauBawk_FiveParallel_Lab
{

Wednesday, March 4, 2015

Asynch Programming With Async Await Ex2


using System.Windows.Forms;
using System.Threading; //Added

namespace Asynch_Programming_With_Async_Await_Ex2
{

Asynchronous Programming With Async Await


using System.Windows.Forms;
using System.Threading; //Added

namespace Asynchronous_Programming_With_Async_Await
{

Sunday, March 1, 2015

C# reading links

C# Examples
Dotnetperls.com


System.Net (For next quarter)
Major class we will mostly use will be "dns class".


Read more a lot on Async, Task, Parallel Programming, OOP.

Saturday, February 28, 2015

Parallel For Stop (Console Application)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Parallel_For_Stop
{

Parallel For Break (Console Application)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Parallel_For_Break
{

Cancelling ParallelFor


using System.Windows.Forms;
using System.Threading; //Added for thread

namespace Cancelling_ParallelFor
{

Parallel Invoke Method (In Console)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Parallel_InvokeMethod_2
{

The Parallel For (In Console)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TheParalleFor
{

The Parallel For Method


using System.Windows.Forms;
using System.Collections.Concurrent; //Added to use BlockingCollection
using System.Diagnostics; //Added to use stop watch.

namespace The_Parallel_For_Method
{

Aggregation Exceptions In Task


using System.Windows.Forms;
using System.Threading; //add it to the .Net

namespace AggregationExceptionsInTask
{

Task Exceptions


using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TaskExceptions
{

Sunday, February 8, 2015

Thread Using System Threading


using System.Threading.Tasks;
using System.Threading; //added 
using System.Windows.Forms;

Fibonacci Lab


using System.Windows.Forms;

Asynchronous Methods Ex: 2


namespace AsynchronousMethods_Take2
{

Extension Methods and Lambda Expressions


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

Asynchronous Methods Lab Assignment


namespace Zau_AsynchronousMethos_Lab_2_4_2015
{

Intro to Asynchronous Methods


using System.Windows.Forms;

Drawing With The Mouse Events

Mouse Events

Adding Events To A Class


//=====WaterTankEventArgs class in EventProducerLib============
namespace EventProducerLib
{

Lambda Expression Lab

Wednesday, January 14, 2015

Lambda Expressions

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LambdaExpressions
{

    public partial class Form1 : Form
    {

Anonymous Methods

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AnonymousMethods
{

    public partial class Form1 : Form
    {
        public delegate bool MyPredicate(int n);
        List<int> intList = new List<int>();

Delegate As Parameter

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DelegatesAsParameter
{

Delegate_Assignment

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Delegate_Assignment
{

    public partial class Form1 : Form
    {

Tuesday, January 6, 2015

Delegates

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Delegate_Example_1
{
    public partial class Form1 : Form
    {

        /*
         *What is a delegate?
         *-------------------