|
|
Browse by Tags
All Tags » C#
Showing page 1 of 16 (154 total posts)
-
LogicNP Software has released Crypto Obfuscator For .Net 2013 which provides superior code protection, obfuscation, optimization and automatic exception reporting for your .Net assemblies. Crypto Obfuscator combines powerful obfuscation, encryption and optimization techniques to provide the very best protection to your .Net code against ...
-
LogicNP Software has released Shell MegaPack.Net 2010 which brings total Windows Explorer-like file & folder browser UI functionality to your forms and dialogs in just a couple of seconds. The UI controls can be put right inside your own form or dialog to provide a standard user-friendly look to your application. Consisting of a folder ...
-
This week I was taking a close look into various InterOp related stuff for a code review purpose.While doing so the way CLR controls the physical layout of a data structure in memory caught my attention.This is what I intend to discuss here.
When we are declaring a set of fields for a structure or class the ordering of variables in the code has ...
-
In this post I will discuss about how we can use the concepts of LINQ in parsing an xml document using the classes provided in the System.Xml.Linq namespace.We can think of any xml document as a collection of nodes where a node can be element,attribute,processing instruction,comment or text.Out of these some types of nodes are container nodes ...
-
Anonymous types, introduced in C# provides the facility to encapsulate a set of properties into a type without specifically naming the type in source code as shown below:
var prod = new { Name="xyz",Price=12.00};
In this case compiler internally generates code for a type in the IL code.If you check the IL code you'll find a type ...
-
Before getting details of Lambda expressions let us quickly take a look into how we work with delegates and a named method since the days of .NET 1.1.Let us consider the following code sample
//Delegate declaration
public delegate void Test(string s);
class Program
{
static void Main(string[] ...
-
We all know that string objects are immutable in C# i.e we can only create a new instance of the object we cannot alter or modify them.Let us take a quick look into the following lines of code:
static void Main(string[] args)
{
string s1 = ...
-
In this post I will discuss about the very basic concepts related to object equality.Object equality can be of two types Value Equality - Two objects having same value for all the fieldsReference Equality - Two instance variables pointing to same reference i.e. same memory location in heap.Let us consider the simple program as shown below:
class ...
-
While reviewing code and discussing with developers I have seen in several occasions that people are not very clear or conscious about upcasting and downcasting.In this post I would like to note down the differences between the two.
Upcasting means casting an object of any type to another type which is above it in the inheritance ...
-
Shell MegaPack.Net 2009 brings total Windows Explorer-like file & folder browser UI functionality to your forms and dialogs in just a couple of seconds. The UI controls can be put right inside your own form or dialog to provide a standard user-friendly look to your application. Consisting of a folder tree control, a file & folder ...
1 ...
|
|
|