Welcome to MSDN Blogs Sign in | Join | Help

Rahul Soni's blog

Never assume the obvious is true!

News



  • These postings are provided "AS IS" with no warranties, and confers no rights.

Browse by Tags

All Tags » Visual C#   (RSS)
MSIL Trivia - 4 (Spot the difference)
I have created a very simple C# console application which gives me the following MSIL code when compiled... The next screenshot has almost the same code but with some special difference. Can you tell me what could have caused it and is it good or bad? Read More...
MSIL Trivia - 3 (Constructors in .NET)
Background: Let's write the following code in C# (cons.cs) using C = System.Console; public class X {     int i, j;     public X()     {     }     public X(int i)     Read More...
Trading Calculator for my friends :-)
I am quite new to share market and I see that a lot of my colleagues here use it for investment. With the markets going up and down like crazy, it gives tonnes of opportunities of making your portfolio a bit better over time. I created a small and handy Read More...
MSIL Trivia - 2 (Setters in C#)
Background: Let's create a setter in C# with a simple getter and setter... using System; class Employee {    private string name;    public string Name    {       get       Read More...
MSIL Trivia - 1
Background: If you have multiple Main methods in your C# console application, you will be able to compile the application only if you provide the /main:ClassName on your command prompt. For ex. create a file called SampleMSIL.cs and paste the following... Read More...
Page view tracker