Author: admin

  • Blog
  • Author: admin

What is diffrence between string and String in C#.net

There is no diffrence between string and String. string is a alias created by microsoft for System.string.There are some other datatypes for which microsoft has created the alias.These are the aliases defined:string->System.Stringsbyte->System.SBytebyte->System.Byteshort->System.Int16ushort->System.UInt16int->System.Int32uint->System.UInt32long->System.Int64ulong->System.UInt64char->System.Charfloat->System.Singledouble->System.Doublebool->System.Boolean decimal->System.Decimal

Ternary operator in VB.NET

We all know about Ternary operator in C#.NET. I am a big fan of ternary operator and I like to use it instead of using IF..Else. Those who don’t know about ternary operator please go through below link. http://msdn.microsoft.com/en-us/library/ty67wk28(v=vs.80).aspx Here you can see ternary operator returns one of the two values based on the condition.

Writing Quality code.

As a developer we all write programing code to devleope applicaitons. But it is very important how you write them.There are several method we have to follow when writing code.I have found very inseresting link which discuss every section of code.here is the link: http://msdn2.microsoft.com/en-us/library/4dtdybt8(vs.80).aspx

CUBE and Roll Up in SQL Server

Some time we need to summarize data very quickly without writing very complex query. CUBE And ROLL UP are great commands that give us very good summary options. We can summarize the data without writing dirty and complex queries with the help of CUBE and ROLL Up Operators. I have found a great link for