Difference between a Field and a Property in C#?

Fields are also called instance variables. The declaration of fields should be private. Fields itself contains different type of data. Properties are main source which accesses the private fields. Properties provide a level of abstraction allowing you to change the fields while not affecting the external way they are accessed by the things that use […]

Posted in: C#.NET, Solutions

How to force .NET App to run as administrator on Windows 7?

Modify the manifest file that gets embedded in the program. This works on VS2008 and higher: Project + Add New Item, select “Application Manifest File”. Change the <requestedExecutionLevel> element to:

Posted in: C#.NET, Solutions

Difference between Decimal, Float and Double in .NET?

float and double are floating binary point types which are used in mathematical calculations.

Posted in: C#.NET, Solutions

Difference between == and Equals() in C#?

== is used on an expression of type object, it’ll resolve to System.Object.ReferenceEquals. Equals() is just a virtual method, so the overridden version will be used (which, for string type compares the contents).

Posted in: C#.NET, Solutions

Convert string into Int in .NET?

using System; namespace Program { class Program { static void Main(string[] args) { string v1, v2; v1 = “10”; v2 = “10”; int val1 = Int32.Parse(v1); int val2 = Int32.Parse(v2); Console.WriteLine(val1+val2); Console.ReadKey(); } } }

Posted in: C#.NET, Solutions

C# Programming Language

C# is stands for C SHARP. C# was first appeared on 2000. It is a strong typed, compiled, object oriented, declarative, imperative, functional, cross platform and generic programing language. Anders Hejlsberg and his team developed C SHARP programming language at Microsoft. C# belongs to the family of C language. The file extension of C# is […]

Posted in: C# Basics, C#.NET

.NET Framework

It is a software component. It is a defined support structure which helps us to develop and organize other software projects. It provides us all requirements which are essential for different types of software project’s development. It can be considered as the processes and technologies which helps us to solve the complex issues. Following types […]

Posted in: C# Basics, C#.NET

C# Common Language Runtime CLR

It is a run-time environment which is provided by .NET Framework. CLR is a heart of .NET Framework, it manages the execution of .NET code and provides useful services to it. The basic job of CLR is to take the code which is generated by the C# compiler (CSC) or any other compiler and converts […]

Posted in: C# Basics, C#.NET
Have a natural attraction for women cosmetics and replica watches uk clothes, no
more than two for men the most attractive one, is to make their own driving experience, happy and can serve as the facade of the car, another is to highlight the taste edify sentiment rolex replica watch. The replica rolex is undoubtedly the most fashionable accessories, wear a suit to attend the activities, but also get a decent match on the replica watches .