Skip to content

Instantly share code, notes, and snippets.

View ierhalim's full-sized avatar

İlker ERHALIM ierhalim

  • Hugo Boss
  • Turkey/İzmir
View GitHub Profile
@ierhalim
ierhalim / Employee.model.ts
Last active August 1, 2021 10:59
PrimeNG Dropdown Usage
export interface EmployeeModel{
id: number;
firstName: string;
lastName: string;
}
@ierhalim
ierhalim / ExampleController.cs
Created January 1, 2021 14:47
Y8O1 Paralel programlama
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace AsyncAwaitExample.Controllers
{
public class ExampleController : ControllerBase
@ierhalim
ierhalim / Program.cs
Last active January 1, 2021 14:46
Y7O3 Paralel programlama
using System;
using System.Collections.Generic;
using System.Linq;
namespace ParallelLinQExample
{
class Program
{
static void Main(string[] args)
{
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 13:24
Y7O2 Paralel programlama
using System;
using System.Threading.Tasks;
namespace ParallelLoopBreakAndStop
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Loop1");
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 13:05
Y7O1 Paralel programlama
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace ParallelLoopVsSyncLoop
{
class Program
{
static long SyncLoop()
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 12:32
Y604 Paralel programlama
using System;
using System.Threading;
using System.Threading.Tasks;
namespace BarrierExample
{
class Program
{
static void Main(string[] args)
{
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 12:25
Y6O3 Paralel Programlama
using System;
using System.Threading.Tasks;
namespace TaskContinuationOptionsExample
{
class Program
{
static void Main(string[] args)
{
var task1 = Task.Run(() =>
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 11:59
Y602 Paralel Programlama
using System;
using System.Threading.Tasks;
namespace ContinueWhenAllExample
{
class Program
{
static void Main(string[] args)
{
var task1 = Task.Run(() =>
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 11:57
Y6O1 Paralel programlama
using System;
using System.Threading.Tasks;
namespace ContinueWithExample
{
class Program
{
static void Main(string[] args)
{
var task1 = Task.Run(() => {
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 11:27
Y5O1 Paralel programlama
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace BlockingCollectionExample
{
class Program
{
static BlockingCollection<string> blockingCollection;