In C#, I've used the below class to measure time execution of a algorithm. The class is taken from the book "CLR via c#"...
Read More
Home
C# Code Snippet
Showing posts with label C# Code Snippet. Show all posts
Showing posts with label C# Code Snippet. Show all posts
Implicit and explicit interface inheritance/implementation in C#
In the book "MCSD cert toolkit" in which I found a good question that asks the core difference between implicit and explicit inte...
Read More
[code snippet] A class for filtering odd and even numbers
A class for filtering odd and even numbers. class int_filter { private delegate bool filter(int x); private in...
Read More
Enum type in C# : How to
An enum type to define a set of named integral constants . Examples: public enum nums { zero, one, two, three, four, five, six, seven...
Read More
Linked List in C#
Linked List is a dynamic data structure consisting of a group of nodes. In each node contains a ref to the next node in the list. In additio...
Read More
Subscribe to:
Posts
(
Atom
)