Category Archives: .NET

C# IEnumerable vs IEnumerator

When we work with Collections in C# we need to iterate the items of collections. One way fo doing is this foreach loop.

 

The class should implenet IEnumerable interface. The IEnumerable interface also inehirts from IEnumerator interface/

 

 

 

codes:

 

 

LICT .NET Training | Kamal Protap Sir | Part 3

09/11/2017 vids

Property:

Automatic Property:

Delegates:

Lambda Expression with FUNC:

Some logics:

Lambda using Function:

Multicast Delegates:

A delegate instance holding the multiple method at a time is multicast delegate.
But the rule is that all the method must be altered because all method in a single instance they remain present. Multiple reference method at a  time.

Anonymous Method:
Unnamed function. In the bracket we are writing the logic. Unnamed method we are writing the logic. Unanmed method.

 

The same AnonymousMethod work can be done in a single line with this lambda operation:

=> This is known as goes to operator and it is similar to AnonymousMethod()

Linq also using lambda not only Delegate

Func:

Func is a readymade function where the first data type is for input and the second one is for output. It does not need any delegate to declare.

Action:
Action does not support any return type:

 

 

 

 

 

 

Extension Methods in C# 3.0

program.cs

StaticClass.cs

TestExtensionMethods.cs

 

 

 

 

 

 

 

output:

 

Xamarin Mobile For .NET Devs

When considering iOS or Android app development, most of us think about Objective-C vs Swift, and Java first of all. Being considered native tech stacks, th

 

Insert Values into Tables using ADO.NET

 

code for Form1.cs:

There is also Form1.cs design

Login and Logout page in ASP.NET using Session, Sign up using DataReader

 

Gridview CRUD with Visual Studio

HTML 5 Template Creation With Visual Studio

LICT C#, OOP and .NET Syllabus

C# Part (Imran Sir):
Objects & Classes

Constructor
Destructor
Static
Polymorphism
Abstraction
Inheritance
Property
Generics
Exception Handling
Access Modifier
Interface
Encapsulation
Commandline
Aggregation
Method Hiding
base
seal
Implicit Explicit Convert
Boxing Unboxing
Ref and Out
Foreach
Array
Enum
String Buffer, String Builder
Partial Class
Partial Method
Delegates
Multicast Delegates
Lambda Expresssion

ASP.NET Part (Imran Sir):
HTML
CSS
Master Page
Session
Database Insert, Login, Registration, Logout using visual studio (SqlData Reader)
Calendar Events
Validation
Ado.net
CRUD automatically(with built in process)
CRUD manually(without builtin toolbox- It was H.W)
Data Bound Control
Web Forms

Excel (Ameer Sir):
Min, Max, Average, Count, Present, Past
Vlookup, COUNTIF, Conditional Formatting

SQL (Protap Sir):
DDL, DML
Constraint
Inner Join/Equi Join,
Primary Key, Foreign Key
Aggregate, Group BY
Outer Join – Left Outer Join, Right Outer Join, Full Join,
Self Join

Sub-query, Store Procedure
ADO.NET, Regi System, Login System

C# part(Protap sir):
Func, Action, Anonymous Function, Object Initializer, Collection Initializer
delegates, Lambda

IEnumerable, IQueryable, Anonymous Type, Var, Boxing Unboxing

ASP.NET(Protap Sir):

ASP.NET MVC(Protap Sir):

MVC

Entity Framework
– Codefirst Approach

 

Assesment:
1 Exam was on OOP basics(50 marks)
2 Assignment:
1st was on basic switch, if else etc.
2nd was on OOP and little more advance topic of C# with out/ref
3rd Class Work by Protap Sir.. To write some sql queries [29.10.2017]
4th Assesment on LINQ  28.11.2017

Registration System Using ASP.NET using SQL Database

ASP.NET Master Page Creation

 

 

 

 

 

String vs string in c#

https://stackoverflow.com/questions/7074/what-is-the-difference-between-string-and-string-in-c/19729734

Function in C#

 

using parameter and return type

 

Java vs C# Similarity

https://www.harding.edu/fmccown/java_csharp_comparison.html

Enum in C#