Çok eski bir web tarayıcısı kullanıyorsunuz. Bu veya diğer siteleri görüntülemekte sorunlar yaşayabilirsiniz.. Tarayıcınızı güncellemeli veya alternatif bir tarayıcı kullanmalısınız.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Media; // Eklenmesi gereken namespace.
namespace WindowsApplication1
{
public partial class Form1 : Form
{...
Dinamik SQL sorgularının kullanıldığı sistemlerde oluşabilecek bir açıktır.
Bir kullanıcı adı parola sınaması yapılan SQL cümleciğinde kullanılabilir.
Select MemberID From Member Where Username = '" + txtUsername.Text + "' and Password = '" + txtPassword.Text + "'"
txtUsername.Text : '...
TCP Listener sınıfı TCP protokolü ile çalışan servislere bağlanmamızı saglar.
Parametre olarak bizden IP ve Port İster.
Arkadaşlar IP üzerinde Duralım IP Bilgisayarımızın Kimlik numarasidir ag ortaminda faklı ( 192.168.1.100 ) İnternet üzerinde farklı( 88.255.83.153) dir
Port Kapi anlamina...
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Microsoft.Win32;
using System.IO;
using System.Diagnostics;
using System.Resources;
namespace Process_Manager
{
public partial class Form1 : Form...
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.IO;
namespace RBinTest
{
public partial class Form1 : Form
{...
/*
* Created using SharpDevelop free C# IDE from
* http://www.icsharpcode.net/opensource/sd/
* User: vegaseat
*
* Draw a bunch of random circles or lines on a windows form
* A very merry Windows Application
*/
using System;
using System.Drawing; // GDI+ stuff
using...
// Fonksiyon Kodları
public static Array DeleteDuplicates(Array arr)
{
// this procedure works only with vectors
if (arr.Rank != 1 )
throw new ArgumentException("Multiple-dimension arrays are not supported");
// we use a hashtable to track duplicates
// make the hash table...
using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}...
C# uygulamalarınızda kullanabileceğiniz, SMTP bilgilerini girerek uygulama içinden e-posta yollamanızı sağlayan sınıf ve örnek kullanım kodları
/// Örnek kullanım:
EnhancedMailMessage msg = new EnhancedMailMessage();
msg.From = "gonderen@site.com";
msg.FromName = "Gönderen Adı";
msg.To =...
using System; class Odev003 { public static void Main() //Bunları Sonraki Ödevlerde Anlatcam { System.Random rnd = new System.Random(); //Her Programa Başlayışta Farklı Sayı Atıyoruz. int rasgelesayi=(int)rnd.Next(1,101); //rasgelesayi Değişkenine 1 ile 100 Arasında Tam Sayı Atıyoruz...
Bildiğimiz gibi bilgisayarları programlamak için programlama dillerine ihtiyaç duyulur.Bu dillerden en popülerleri Basic,C,C++,Pascal,Java ve Assembler 'dır.Makina dili ise donanımı kontrol etmek için donanımı üreten firma tarafından tanımlanan komutlar kümesidir. Bazı programlama dilleri...
int toplam=0,a,b; Console.WriteLine("bir sayi girin"); a = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("bir sayi girin"); b = Convert.ToInt32(Console.ReadLine()); for (int i = a; i <= b; i++) { toplam += i; } Console.WriteLine("Toplam : {0}", toplam); Console.ReadKey();