Reading Notes
Current reading notes comes from Book LINQ in Action
Reading List
LINQ in Action
Labels
Ajax
(4)
C# 3.0
(1)
C#3.0
(2)
Design Patterns
(1)
JQuery
(1)
jquery load xml
(1)
JQuery post data into SQL by call LINQ data layer
(1)
JQuery to resizeText
(1)
LINQ
(7)
linq /.net 3.5 load xml class
(1)
SQL/XML
(1)
Blog Archive
►
2009
(15)
►
October
(4)
►
August
(2)
►
July
(1)
►
March
(1)
►
February
(1)
►
January
(6)
▼
2008
(62)
►
December
(10)
►
November
(9)
►
August
(2)
►
May
(1)
▼
April
(29)
How Deferred Execution Works
LINQ Comprehension Queries
Extention Methods(C# 3.0)
Nullable types
Anonymous Methods
partial classes and parital methods (C# 3.0)
3.0 Object Initializers
Passing by value vs Passing by ref
Stack vs Heap
Best statement value types vs reference types
Stream XML Fragments from an XmlReader
yield return iterator
Load xml into XElement and loop through xElement
LINQ to XML
Partial Classes in ASP.NET
pessimistic concurrency vs optimistic concurrency
My Practices coding
Debug tool --- Query Visualizer tool
Standend query operators samples
Example Query expression & Operator
Deferred query execution
Iterator yield return sample code
IEnumerable two usage generic && non-generic
LINQ Sample
Anonymous types
Write Extension methods
Lambda Expressions
Object and collection initializers
C# 3.0 Language enhancements
►
March
(6)
►
February
(3)
►
January
(2)
►
2007
(29)
►
December
(9)
►
November
(20)
Tuesday, April 22, 2008
yield return iterator
IL creates a state engine to retain their state and don't have to go through the pain of maintaining state in coding:
private static IEnumerable
GetData()
{
for (int i=0; i <5; i++)
yield return i ;
}
when call GetData() function, will receive a new incremented integer.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment