SlideShare una empresa de Scribd logo
1 de 71
Introduction to Programming in  .Net Environment Masoud Milani
Programming in C# Part 2
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Classes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Parameters Passing ,[object Object],[object Object],1- ,[object Object],int Smallest(int a, int b) { if (a > b)   return b; else return a; } ,[object Object]
Parameters Passing ,[object Object],[object Object],1- ,[object Object],void Smaller(int a, int b, out int result) { result=a>b?b: a; } ,[object Object],[object Object],int a=20; int b=30; Smaller(a, b, out sm); sm=20
Parameters Passing ,[object Object],[object Object],1- ,[object Object],void Swap(ref int a, ref int b) { int t=a; a=b; b=t; } ,[object Object],[object Object],int a=20; int b=30; Swap(ref a, ref b); a=30 b=20
Parameters Passing ,[object Object],1- ,[object Object],public class ParamClass { public int myValue; } ParamClass p=new ParamClass(); p.myValue=9; Console.WriteLine("Before Increment,  p.myValue={0}", p.myValue); Increment(p); Console.WriteLine("After Increment,  p.myValue={0}", p.myValue); static void Increment(ParamClass q) { q.myValue++; } Before Increment, p.myValue=9 After Increment, p.myValue=10
Variable Number of Parameters 1- ,[object Object],int a=Smallest(5, 4, -3, 45, 2); int b=Smallest(1, 2, 3); int Smallest(params int[] a) { int smallest=int.MaxValue; foreach (int x in a) if (x < smallest) smallest=x; return smallest; }
Method Overloading ,[object Object],[object Object],1- ,[object Object]
Operator Overloading ,[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Operator Overloading 1- ,[object Object],public class MyType { public MyType(int v) { myValue=v; } public int myValue; public static MyType operator + (MyType x, MyType y) { return new MyType(x.myValue + y.myValue); } … } MyType p(5); MyType q(6); MyType s=p+q; s += p;
Operator Overloading 1- ,[object Object],public class MyType { … public static MyType operator + (MyType x, int y) { return new MyType(x.myValue + y); } … } MyType p(5); MyType s=p+7; s += 7
Operator Overloading 1- ,[object Object],public class MyType { … public static MyType operator ++ (MyType x) { x.myValue += 1; return new MyType(x.myValue + 1); } … } MyType p(5); MyType s=p++;
Operator Overloading 1- ,[object Object],public class MyType { … public static bool operator true(MyType x) { return x.myValue !=0; } public static bool operator false (MyType x) { return x.myValue == 0; } … } MyType z(5); if (z) Console.WriteLine(&quot;true&quot;); else Console.WriteLine(&quot;false&quot;);
Indexers ,[object Object],[object Object],[object Object],1- ,[object Object],Exams ex=new Exams(); ex [1] =100; Indexer
Indexer 1- ,[object Object],public class Exams { public int this[int examNo] { get { … } set { … } } Exams ex=new Exams(); ex[1]=100; ex[2]=50; int average=ex[1] + ex[2];
Example ,[object Object],1- ,[object Object]
Example ,[object Object],1- ,[object Object],Should use this keyword
Example ,[object Object],1- ,[object Object]
Output ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Exercise ,[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Exams class 1- ,[object Object],public class Exams { public Exams(int ex1, int ex2, int ex3) { … } private int exam1; private int exam2; private int exam3; public double Average { … } }
Inheritance ,[object Object],[object Object],1- ,[object Object],public class Person { public Person(string fn, string ln) { firstName=fn; lastName=ln; } private string firstName; private string lastName; } public class Student : Person { public Student(string fn, string ln, string mj):  base(fn, ln) { major=mj; } private string major; }
Inheritance ,[object Object],1- ,[object Object],public class Person { … public void Show() { Console.Write(&quot;Name: {0}, {1}&quot;, lastName, firstName)} } ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inheritance 1- ,[object Object],Person p = new Person(&quot;P1-F&quot;, &quot;P1-L&quot;); p.Show(); Console.WriteLine(); Student s=new Student(&quot;S1-F&quot;, &quot;S1-L&quot;, &quot;CS&quot;); s.Show(); Console.WriteLine(); p=s; p.Show(); Name: P1-L, P1-F Name: S1-L, S1-F Name: S1-L, S1-F Major: CS
Virtual Function ,[object Object],1- ,[object Object],public class Person { … public virtual void Show() { Console.Write(&quot;Name: {0}, {1}&quot;, lastName, firstName)} } ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],using namespace the override keyword is also required.
Virtual Function 1- ,[object Object],Person p = new Person(&quot;P1-F&quot;, &quot;P1-L&quot;); p.Show(); Console.WriteLine(); Student s=new Student(&quot;S1-F&quot;, &quot;S1-L&quot;, &quot;CS&quot;); s.Show(); Console.WriteLine(); p=s; p.Show(); Name: S1-L, S1-F Major: CS Name: S1-L, S1-F Major: CS Name: P1-L, P1-F
Sealed Modifier ,[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Example ,[object Object],1- ,[object Object],Complation error!
Abstract Classes ,[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Abstract Classes ,[object Object],[object Object],1- ,[object Object]
Abstract Classes 1- ,[object Object],public abstract class Person { public Person(string fn, string ln) { firstName=fn; lastName=ln; } private string firstName; private string lastName; public virtual void Show() { Console.Write(&quot;Name: {0}, {1}&quot;,  lastName, firstName); } } Error: Abstract classes can not be instantiated Person p(“FN-1”, “LN-1”);
Exercise 1- ,[object Object],Courses exam1 exam2 exam3 Average takes Class Grad Student GradStudent( … ) bool pass // >80 void override Show() class Student string major double Average Student( … ) bool Pass  // >60 void override Show() Abstract class Person string fName string lName Person(string fn, string ln) void virtual Show() isA isA
Exercise ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Person class 1- ,[object Object],public abstract class Person { public Person(string fn, string ln) { … } private string firstName; private string lastName; public virtual void Show() { … } }
Student class 1- ,[object Object],public class Student : Inheritance.Person { public Student(string fn, string ln, string mj, int ex1, int ex2, int ex3):base(fn, ln) { … } private string major; public override void Show() { … } public virtual bool Pass { get { … } } protected Exams scores; public double Average { get { … } } }
GradStudent class 1- ,[object Object],public class GradStudent : Inheritance.Student { public GradStudent(string fn, string ln, string mj, int ex1, int ex2, int ex3): base(fn, ln, mj, ex1, ex2, ex3) { … } public override bool Pass { get { … } } }
Files ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
StreamWriter 1- ,[object Object],void WriteText() { int[] data=new int[5]{1,2,3,4,5}; StreamWriter outFile=new StreamWriter(&quot;myOutFile.txt&quot;); for(int i=0; i<data.Length; i++) outFile.WriteLine(&quot;data[{0}]={1}&quot;, i, data[i]); outFile.Close(); } ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
StreamReader ,[object Object],[object Object],1- ,[object Object],StreamReader inpTextFile=new StreamReader(&quot;myOutFile.txt&quot;); while(inpTextFile.Peek() >=0) { string nextLine=inpTextFile.ReadLine(); Console.WriteLine(int.Parse(nextLine.Substring(nextLine.IndexOf(&quot;=&quot;)+1))); }  inpTextFile.Close();
Exercise ,[object Object],1- ,[object Object]
FileStream ,[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
FileMode Enumeration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
FileAccess Enumeration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Formatter ,[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Formatter ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Serialization 1- ,[object Object],string myString=&quot;string1&quot;; int myInt=16; int[] myData=new int[5]{1,2,3,4,5}; FileStream f=new FileStream(&quot;bFile&quot;, FileMode.Create, FileAccess.Write); BinaryFormatter formatter=new BinaryFormatter(); formatter.Serialize(f, myString); formatter.Serialize(f, myInt); formatter.Serialize(f, myData); f.Close();
[object Object],1- ,[object Object]
Deserialization 1- ,[object Object],string myString=&quot;string1&quot;; int myInt=16; int[] myData=new int[5]{1,2,3,4,5}; f=new FileStream(&quot;bFile&quot;, FileMode.Open, FileAccess.Read); myString=(string)formatter.Deserialize(f); myInt=(int)formatter.Deserialize(f); newdata=(int[])formatter.Deserialize(f); Console.WriteLine(&quot;myString={0}&quot;, myString); Console.WriteLine(&quot;myInt={0}&quot;, myInt);
Exercise ,[object Object],1- ,[object Object]
Exception Handling ,[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Exception Handling ,[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Exception Handling ,[object Object],[object Object],1- ,[object Object],int[] a= new int[20]; try { Console.WriteLine(a[20]); } catch (Exception e) { Console.WriteLine(e.Message); } Index was outside the bounds of the array
Exception Handling ,[object Object],[object Object],[object Object],1- ,[object Object]
Exception Handling ,[object Object],[object Object],[object Object],1- ,[object Object]
Exception Handling 1- ,[object Object],int[] a= new int[20]; try { Console.WriteLine(a[2]); } catch (Exception e) { Console.WriteLine(e.Message); } finally { Console.WriteLine(“Finally we are done!&quot;); } Finally we are done!
Exception Handling ,[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Exception Handling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1- ,[object Object]
Programmer Defined Exceptions ,[object Object],[object Object],[object Object],1- ,[object Object],public class MyException : System.ApplicationException { public MyException(string message):base(message) { } }
Programmer Defined Exceptions 1- ,[object Object],public static int g(int a, int b) { // adds positive numbers if (a <0) { MyException e=new MyException(&quot;1st parameter is negative&quot;); throw(e); } if (b <0) { MyException e=new MyException(&quot;2nd dparameter is negative&quot;); throw(e); } return a+b; } try { Console.WriteLine(&quot;g(4, -5)={0}&quot;, g(4, -5)); } catch (Exception e) Console.WriteLine(e.Message); }
Delegates ,[object Object],[object Object],1- ,[object Object],delegate int D1(int i, int j);
Delegates 1- ,[object Object],delegate int D1(int i, int j); public static int add(int a, int b) { Console.WriteLine(a+b); return a+b; } public static int mult(int a, int b) { Console.WriteLine(a*b); return a*b } static void Main(string[] args) { D1 d1=new D1(add); D1 d2=new D1(mult); d1=d1 + d2; d1(5, 5); } 10 25
Delegates 1- ,[object Object],delegate int D1(int i, int j); public static int add(int a, int b) { Console.WriteLine(a+b); return a+b; } public static int mult(int a, int b) { Console.WriteLine(a*b); return a*b } static void Main(string[] args) { D1 d1=new D1(add); D1 d2=new D1(mult); d1=d1 + d2; f(d1); } 10 25 public static void f(D1 d) { d(5,5); }
Exercise ,[object Object],1- ,[object Object],public static void sort(int[] data, CompareDelegate Compare) { for (int i=0; i<data.Length; ++i) for(int j=i+1; j<data.Length; j++) if (Compare(data[i],data[j])) { int t=data[i]; data[i]=data[j]; data[j]=t; } }
Interfaces ,[object Object],[object Object],[object Object],1- ,[object Object]
Interfaces ,[object Object],1- ,[object Object],interface IPublication { string Title { get; set; } string Publisher { get; set; } void Display(); }
Interfaces 1- ,[object Object],public class Book: IPublication { public Book(string title, string author,  string publisher) { Title=title; Author=author; Publisher=publisher; } private string author; private string title; private string publisher; public string Author { … } public string Title { … } public string Publisher { … } public void Display() { … } }
Interfaces 1- ,[object Object],static public void Display(IPublication[] p) { for (int i=0; i<p.Length; ++i) p[i].Display(); } static void Main(string[] args) { IPublication[] publications= new  IPublication[2]; publications[0] = new Book (&quot;t0&quot;, &quot;a0&quot;, &quot;p0&quot;); publications[1] = new Magazine (&quot;t1&quot;, &quot;a1&quot;); Display(publications); } public class Magazine : Interfaces.IPublication { … }
Interfaces ,[object Object],[object Object],[object Object],1- ,[object Object]

Más contenido relacionado

La actualidad más candente

C# Summer course - Lecture 3
C# Summer course - Lecture 3C# Summer course - Lecture 3
C# Summer course - Lecture 3mohamedsamyali
 
18CSS101J PROGRAMMING FOR PROBLEM SOLVING
18CSS101J PROGRAMMING FOR PROBLEM SOLVING18CSS101J PROGRAMMING FOR PROBLEM SOLVING
18CSS101J PROGRAMMING FOR PROBLEM SOLVINGGOWSIKRAJAP
 
12. Exception Handling
12. Exception Handling 12. Exception Handling
12. Exception Handling Intro C# Book
 
Visula C# Programming Lecture 6
Visula C# Programming Lecture 6Visula C# Programming Lecture 6
Visula C# Programming Lecture 6Abou Bakr Ashraf
 
Esoft Metro Campus - Certificate in java basics
Esoft Metro Campus - Certificate in java basicsEsoft Metro Campus - Certificate in java basics
Esoft Metro Campus - Certificate in java basicsRasan Samarasinghe
 
12. Java Exceptions and error handling
12. Java Exceptions and error handling12. Java Exceptions and error handling
12. Java Exceptions and error handlingIntro C# Book
 
C Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory managementC Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory managementSreedhar Chowdam
 
Object Oriented Programming using C++ Part III
Object Oriented Programming using C++ Part IIIObject Oriented Programming using C++ Part III
Object Oriented Programming using C++ Part IIIAjit Nayak
 
DITEC - Programming with C#.NET
DITEC - Programming with C#.NETDITEC - Programming with C#.NET
DITEC - Programming with C#.NETRasan Samarasinghe
 
Visula C# Programming Lecture 8
Visula C# Programming Lecture 8Visula C# Programming Lecture 8
Visula C# Programming Lecture 8Abou Bakr Ashraf
 
C Programming Storage classes, Recursion
C Programming Storage classes, RecursionC Programming Storage classes, Recursion
C Programming Storage classes, RecursionSreedhar Chowdam
 
Programming C Language
Programming C LanguageProgramming C Language
Programming C Languagenatarafonseca
 

La actualidad más candente (20)

Basic c#
Basic c#Basic c#
Basic c#
 
C# Summer course - Lecture 3
C# Summer course - Lecture 3C# Summer course - Lecture 3
C# Summer course - Lecture 3
 
18CSS101J PROGRAMMING FOR PROBLEM SOLVING
18CSS101J PROGRAMMING FOR PROBLEM SOLVING18CSS101J PROGRAMMING FOR PROBLEM SOLVING
18CSS101J PROGRAMMING FOR PROBLEM SOLVING
 
12. Exception Handling
12. Exception Handling 12. Exception Handling
12. Exception Handling
 
Visula C# Programming Lecture 6
Visula C# Programming Lecture 6Visula C# Programming Lecture 6
Visula C# Programming Lecture 6
 
Core C#
Core C#Core C#
Core C#
 
C++ tutorials
C++ tutorialsC++ tutorials
C++ tutorials
 
Unit 3
Unit 3 Unit 3
Unit 3
 
10. Recursion
10. Recursion10. Recursion
10. Recursion
 
Esoft Metro Campus - Certificate in java basics
Esoft Metro Campus - Certificate in java basicsEsoft Metro Campus - Certificate in java basics
Esoft Metro Campus - Certificate in java basics
 
12. Java Exceptions and error handling
12. Java Exceptions and error handling12. Java Exceptions and error handling
12. Java Exceptions and error handling
 
C Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory managementC Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory management
 
Object Oriented Programming using C++ Part III
Object Oriented Programming using C++ Part IIIObject Oriented Programming using C++ Part III
Object Oriented Programming using C++ Part III
 
DITEC - Programming with C#.NET
DITEC - Programming with C#.NETDITEC - Programming with C#.NET
DITEC - Programming with C#.NET
 
Visula C# Programming Lecture 8
Visula C# Programming Lecture 8Visula C# Programming Lecture 8
Visula C# Programming Lecture 8
 
C sharp chap5
C sharp chap5C sharp chap5
C sharp chap5
 
C Programming Storage classes, Recursion
C Programming Storage classes, RecursionC Programming Storage classes, Recursion
C Programming Storage classes, Recursion
 
C sharp chap4
C sharp chap4C sharp chap4
C sharp chap4
 
09. Methods
09. Methods09. Methods
09. Methods
 
Programming C Language
Programming C LanguageProgramming C Language
Programming C Language
 

Destacado

лаборатори 5
лаборатори 5лаборатори 5
лаборатори 5anjelo0028
 
лаборатори 6
лаборатори 6лаборатори 6
лаборатори 6anjelo0028
 
How to deliver Bad Financial News
How to deliver Bad Financial NewsHow to deliver Bad Financial News
How to deliver Bad Financial NewsMark Normand
 
лаборатори 2, 3
лаборатори  2, 3лаборатори  2, 3
лаборатори 2, 3anjelo0028
 
лаборатори 10
лаборатори 10лаборатори 10
лаборатори 10anjelo0028
 
лаборатори 13,14
лаборатори 13,14лаборатори 13,14
лаборатори 13,14anjelo0028
 
Wonderful World - Road trip to Perth, Australia 2007
Wonderful World - Road trip to Perth, Australia 2007Wonderful World - Road trip to Perth, Australia 2007
Wonderful World - Road trip to Perth, Australia 2007Mark Normand
 

Destacado (7)

лаборатори 5
лаборатори 5лаборатори 5
лаборатори 5
 
лаборатори 6
лаборатори 6лаборатори 6
лаборатори 6
 
How to deliver Bad Financial News
How to deliver Bad Financial NewsHow to deliver Bad Financial News
How to deliver Bad Financial News
 
лаборатори 2, 3
лаборатори  2, 3лаборатори  2, 3
лаборатори 2, 3
 
лаборатори 10
лаборатори 10лаборатори 10
лаборатори 10
 
лаборатори 13,14
лаборатори 13,14лаборатори 13,14
лаборатори 13,14
 
Wonderful World - Road trip to Perth, Australia 2007
Wonderful World - Road trip to Perth, Australia 2007Wonderful World - Road trip to Perth, Australia 2007
Wonderful World - Road trip to Perth, Australia 2007
 

Similar a C sharp part2

Csharp4 objects and_types
Csharp4 objects and_typesCsharp4 objects and_types
Csharp4 objects and_typesAbed Bukhari
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingRenas Rekany
 
Java căn bản - Chapter4
Java căn bản - Chapter4Java căn bản - Chapter4
Java căn bản - Chapter4Vince Vo
 
Chapter 4 - Defining Your Own Classes - Part I
Chapter 4 - Defining Your Own Classes - Part IChapter 4 - Defining Your Own Classes - Part I
Chapter 4 - Defining Your Own Classes - Part IEduardo Bergavera
 
documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...
documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...
documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...Akaks
 
Unit vi(dsc++)
Unit vi(dsc++)Unit vi(dsc++)
Unit vi(dsc++)Durga Devi
 
Lecture 4.2 c++(comlete reference book)
Lecture 4.2 c++(comlete reference book)Lecture 4.2 c++(comlete reference book)
Lecture 4.2 c++(comlete reference book)Abu Saleh
 

Similar a C sharp part2 (20)

Java interface
Java interfaceJava interface
Java interface
 
Csharp4 objects and_types
Csharp4 objects and_typesCsharp4 objects and_types
Csharp4 objects and_types
 
.NET F# Events
.NET F# Events.NET F# Events
.NET F# Events
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
02.adt
02.adt02.adt
02.adt
 
175035 cse lab-05
175035 cse lab-05 175035 cse lab-05
175035 cse lab-05
 
Java 8 features
Java 8 featuresJava 8 features
Java 8 features
 
Methods in Java
Methods in JavaMethods in Java
Methods in Java
 
Java căn bản - Chapter4
Java căn bản - Chapter4Java căn bản - Chapter4
Java căn bản - Chapter4
 
Chapter 4 - Defining Your Own Classes - Part I
Chapter 4 - Defining Your Own Classes - Part IChapter 4 - Defining Your Own Classes - Part I
Chapter 4 - Defining Your Own Classes - Part I
 
Introduction to C++
Introduction to C++Introduction to C++
Introduction to C++
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...
documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...
documents.pub_new-features-in-java-8-it-jpoialjavanaitedwien15java8pdf-java-8...
 
Object oriented concepts
Object oriented conceptsObject oriented concepts
Object oriented concepts
 
Wien15 java8
Wien15 java8Wien15 java8
Wien15 java8
 
Diifeerences In C#
Diifeerences In C#Diifeerences In C#
Diifeerences In C#
 
Bc0037
Bc0037Bc0037
Bc0037
 
Unit vi(dsc++)
Unit vi(dsc++)Unit vi(dsc++)
Unit vi(dsc++)
 
Major Java 8 features
Major Java 8 featuresMajor Java 8 features
Major Java 8 features
 
Lecture 4.2 c++(comlete reference book)
Lecture 4.2 c++(comlete reference book)Lecture 4.2 c++(comlete reference book)
Lecture 4.2 c++(comlete reference book)
 

Más de anjelo0028

лаборатори 11,12
лаборатори 11,12лаборатори 11,12
лаборатори 11,12anjelo0028
 
лаборатори 9
лаборатори 9лаборатори 9
лаборатори 9anjelo0028
 
лаборатори 8
лаборатори 8лаборатори 8
лаборатори 8anjelo0028
 
лаборатори 7
лаборатори 7лаборатори 7
лаборатори 7anjelo0028
 
лаборатори 4
лаборатори 4лаборатори 4
лаборатори 4anjelo0028
 
лаборатори 3
лаборатори 3лаборатори 3
лаборатори 3anjelo0028
 
хэрэглээний програм лекц 1
хэрэглээний програм лекц 1хэрэглээний програм лекц 1
хэрэглээний програм лекц 1anjelo0028
 
хэрэглээний програм лекц 1
хэрэглээний програм лекц 1хэрэглээний програм лекц 1
хэрэглээний програм лекц 1anjelo0028
 

Más de anjelo0028 (9)

лаборатори 11,12
лаборатори 11,12лаборатори 11,12
лаборатори 11,12
 
лаборатори 9
лаборатори 9лаборатори 9
лаборатори 9
 
лаборатори 8
лаборатори 8лаборатори 8
лаборатори 8
 
лаборатори 7
лаборатори 7лаборатори 7
лаборатори 7
 
лаборатори 4
лаборатори 4лаборатори 4
лаборатори 4
 
лаборатори 3
лаборатори 3лаборатори 3
лаборатори 3
 
хэрэглээний програм лекц 1
хэрэглээний програм лекц 1хэрэглээний програм лекц 1
хэрэглээний програм лекц 1
 
хэрэглээний програм лекц 1
хэрэглээний програм лекц 1хэрэглээний програм лекц 1
хэрэглээний програм лекц 1
 
Bdfb
BdfbBdfb
Bdfb
 

C sharp part2

  • 1. Introduction to Programming in .Net Environment Masoud Milani
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.