Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

yunus emre keskin yemrekeskin

🎯
Focusing
Block or report user

Report or block yemrekeskin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PdfDesign.cs
public void Deneme(string filename)
{
// variables
var pathin = Path.Combine(
Directory.GetCurrentDirectory(),"wwwroot",
filename);
string pathout = Path.Combine(
Directory.GetCurrentDirectory(),"wwwroot/exported",
filename);
View CompanySpRepository.cs
using ComManager.Models;
using Dapper;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
namespace ComManager.Repository
{
View CompanyRepository.cs
using ComManager.Models;
using Dapper;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
namespace ComManager.Repository
{
View FactoryMethod.Sample2.cs
namespace FactoryMethod.Sample2
{
class Program
{
static void Main(string[] args)
{
// normal kullanım
PDFReader pdfreader = new PDFReader();
pdfreader.Read();
pdfreader.Extract();
View Singleton.Sample10.cs
namespace Singleton.Sample10
{
class Program
{
static void Main(string[] args)
{
IFileProcessor fileProcessor = DataProcessor.Instance;
var paymentFile = @"C:\Payment\out\20141204_940_159856.xml";
View Singleton.Sample1.cs
namespace Singleton.Sample1
{
class Program
{
static void Main(string[] args)
{
var myFirstObject = Singleton.Instance();
var mySecondObject = Singleton.Instance();
var myThirdObject = Singleton.Instance();
//var myFourthObject = new Singleton();
@yemrekeskin
yemrekeskin / CheckInternetConnection.cs
Created Mar 5, 2015
Check Internet Connection with c#
View CheckInternetConnection.cs
class Program
{
static void Main(string[] args)
{
if(CheckInternetConnection())
Console.WriteLine("Internet var");
else Console.WriteLine("Internet yok");
Console.ReadLine();
View GcMemoryMonitor.cs
class Program
{
static void Main(string[] args)
{
var tester = new CachedMemoryMonitor(new GcMemoryMonitor(), 5);
Console.ReadLine();
}
}
View AbstractFactory3.cs
/// <summary>
/// Abstract Product
/// </summary>
abstract class Command { }
abstract class Connection { }
abstract class Transaction { }
/// <summary>
/// Concrete Product for Oracle
/// </summary>
View ExtentionSamples.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ExtentionSamples
{
class Program
You can’t perform that action at this time.