EPAM Activities Version 1

Admin App Adding an Event The admin app let’s the user create events. The events are stored in the Easy Table TodoItem in Azure. There is a table that shows all the non-expired events. There is also an ‘add event’ button. Click on the add button and you’ll see this screen. In this version, you […]

SightCore Training notes

Everything in Sitecore is an item An item is a unit of content, not a page Items are not files Each item has a GUID Items are represented in a hierarchical structure called Content Tree Sitecore interfaces display all or part of the Content tree. Some items are addressable via URL. Items’ URL is determined […]

Interface

Boxing

Difference between Boxing and Unboxing in C# Boxing The first two lines of code declare and initialize value type variable i and reference type variable oi. In the third line of code, you want to assign the value of variable i to oi. But oi is a reference type variable and must be assigned a […]

Lambda

Search for string in string array lambda

Result: otwone two threetwo fotwour two LinQ

Result: otwone two threetwo fotwour two Determine if any ints are larger or less Lambda

Result: less than or equal to 3: 3 3 more than or equal to 7: 8 8 less than or equal to […]

Delegates for c#

Doubly Linked List

Situations for using a Doubly Linked list would be deck of cards browser cache Metro A new node’s previous points left, and next points right. When we add a new node, we pass in the linked list’s tail into the new Node’s constructor. The new Node will re-wire it so that its previous points to […]

queue

For queues, we append new node at the tail end, and the tail take on its next. The head pointer stays in place at the first node. When we execute something, we pop from the queue, and the head moves to next.

Stack

Stack appends (or pushes) at the end. And pops at the end also. hence, all we need is one pointer to do that.