Saturday, November 10, 2007

C# 3.0 - What's new?

Hello! everyone. This is festive time here in India. Yesterday we all celebrated Diwali, festival of light. I must tell you that lot of things have changed, things like playing with crackers, going out with friends and watching the way people decorated their houses using lights and ribbons. Yesterday, after having our Diwali prayer I just watched a movie (CHUCK) @ home and slept at around 11. Nothing new for me and it turned out to be yet another holiday. I wish things remained the same way as they were before.

Now let's talk technology. Microsoft have another a new set of features to C# in its third avatar. There is complete list available at MSDN, but I just wanted to add my comments to it as I study new features one by one. What I am planning is, I'll study one new feature everyday, post it here with my comments.
  1. Implicitly Typed Local Variables
    • Type is inferred by the expression used to initialize the variable
    • Only applicable to local variable
    • Variable declared using keyword 'var'
    • There should be no Type with name 'var' defined in scope. Only then type inferring will work
    • We should initialize the variable where we declaring it
    • Initialized must be an expression.
    • Local variable declaration should not include multiple variables
    • Initializer should not refer to variable itself
    • Some Examples: [ <=> is Same as ]
      var i = 5; <=> int i = 5;
      var s = "Hello";
      <=> string s = "Hello";
      var d = 1.0;
      <=> double d = 1.0;
      var numbers = new int[] {1, 2, 3};
      <=> int[] number = new int[]{1,2,3};
    • Some incorrect use of var:
      var x; // Error, no initializer to infer type from
      var y = {1, 2, 3}; // Error, collection initializer not permitted
      var z = null; // Error, null type not permitted
      var u = x => x + 1; // Error, lambda expressions do not have a type
      var v = v++; // Error, initializer cannot refer to variable itself
    • for, foreach and using (resource acquisition) can also use var. Like,
      int[] numbers = { 1, 2, 3, 4, 5 };
      foreach (var n in numbers) { //Do some thing }
    • COMMENTS
      Why do we need to use var? Everything should be Type Strict. I think this will impact performance as compiler will use some kind of intelligence to find out variable type and it will surely take up some time. This is no scripting language...man this is C#. It will just complicate things even more and add to huge list of keywords that we already have like sealed, virtual, override, abstract, new, internal etc. I don't see any use of this so called added feature.
      Please let me know your opinions.
Currently Listening To: Shadow of the day-LINKIN PARK
~eNjOy cOdinG~

199 comments:

Anonymous said...

Breer: Week 3 predictionsHow can the 2-0 Lions fare from the 0-2 Vikings on Sunday in Minnesota? NFL Network's Albert Breer picks the actual end result of every Week 3 game Not only can you buy for yourself but it is also a great gift idea for the sports fan in your life
National Hockey League begins with the demise of its predecessor league[url=http://www.officialnikebroncosjerseyshop.com/broncos+peyton+manning+authentic+jersey-c-9_17.html]Youth Black Peyton Manning Jersey[/url]
Replica NHL Jerseys the National Hockey Association (NHA)[url=http://www.officialnikebroncosjerseyshop.com/broncos+von+miller+authentic+jersey-c-9_21.html]Orange Von Miller Jersey[/url]
in 1917 They have fans and team member who are counting on them[url=http://www.officialnikebroncosjerseyshop.com/broncos+peyton+manning+authentic+jersey-c-9_17.html]Peyton Manning White Jersey[/url]
and don¡¯t want to be let down

Anonymous said...

diazepam without prescription trusted online pharmacy valium - buy valium online australia no prescription

Anonymous said...

ativan without prescription buy ativan online overnight - ativan vs xanax alzheimer's

Anonymous said...

buy tramadol in florida tramadol efectos secundarios - tramadol addiction nhs

Anonymous said...

cheap generic ativan generic version ativan - ativan overdose+hospital

Anonymous said...

order tramadol online without prescription is it legal to buy tramadol online us - order tramadol with mastercard

Anonymous said...

tramadol online buy tramadol without rx - buy tramadol no prescription cheap

Anonymous said...

buy tramadol online tramadol 50mg buy online - tramadol hcl dose

Anonymous said...

buy tramadol buy tramadol online australia - buy tramadol from uk

Anonymous said...

buy tramadol online cod overnight buy tramadol rx - buy tramadol hcl

Anonymous said...

buy ativan online ativan side effects sedation - how long does lorazepam 1mg last

Anonymous said...

tramadol online long does 100mg tramadol last - tramadol dosage human

Anonymous said...

buy ambien online zolpidem side effects hair loss - ambien side effects hallucinations

Anonymous said...

clonazepam drug 2mg klonopin 2mg xanax - klonopin dosage mg

Anonymous said...

cheap tramadol no prescription tramadol online in europe - tramadol 50 mg info

Anonymous said...

order tramadol online overnight can i buy tramadol online - buy-tramadol-online

Anonymous said...

klonopin online klonopin visual side effects - klonopin withdrawal from 1 mg

Anonymous said...

buy ambien online no prescription ambien cr nyquil - withdrawal from ambien cr

Anonymous said...

buy ambien online legally ambien 8 hours sleep - buy ambien prescription online

Anonymous said...

tramadol online where to order tramadol online - tramadol withdrawal signs

Anonymous said...

ambien sleep medication ambien walrus wikipedia - online ambien music maker

Anonymous said...

buy tramadol online cod tramadol 50/ 100 mg - tramadol for dogs constipation

Anonymous said...

buy klonopin online klonopin online cheap - buy klonopin online mastercard

Anonymous said...

generic tramadol side effects of tramadol 50mg capsules - can you really buy tramadol online

Anonymous said...

zolpidem without prescription ambien online pharmacy - ambien cr shelf life

Anonymous said...

ativan for anxiety ativan get u high - ativan buzz

Anonymous said...

tramadol 50mg order tramadol online forum - tramadol jaw pain

Anonymous said...

cheap soma online buy soma 350 mg online - soma function

Anonymous said...

tramadol no rx buy tramadol online without rx - tramadol hcl information

Anonymous said...

klonopin pill klonopin side effects during pregnancy - klonopin overdose children

Anonymous said...

tramadol online tramadol high lasts - tramadol 37.5/325 high

Anonymous said...

buy ambien online lexapro ambien drug interactions - purchase ambien no prescription

Anonymous said...

generic ambien ambien dosage based weight - ambien online india

Anonymous said...

ativan cost side effects getting off ativan - ativan side effects elderly patients

Anonymous said...

tramadol 50mg tramadol overdose 1000mg - tramadol addiction blog

Anonymous said...

generic carisoprodol soma san diego shows - drug class for soma

Anonymous said...

klonopin depression side effects of quitting klonopin - klonopin sublingual

Anonymous said...

buy tramadol online no prescription tramadol for opiate withdrawal - buy tramadol australia online

Anonymous said...

ambien pill ambien generic version - ambien side effects nih

Anonymous said...

tramadol online tramadol hcl apap - tramadol hcl 25

Anonymous said...

generic ambien ambien 74 93 - ambien side effects blurred vision

Anonymous said...

order tramadol no prescription buy tramadol 200 - buy tramadol er

Anonymous said...

order ambien buy ambien no prescription - ambien cr 12.5 trip

Anonymous said...

soma online somo 650 user manual - generic soma pictures

Anonymous said...

ambien 10 mg ambien online europe - buy ambien cr online

Anonymous said...

where can i buy viagra online safely does viagra work for diabetics - generic viagra+online pharmacy+no prescription

Anonymous said...

ambien order online no prescription how to buy ambien online - retail cost generic ambien

Anonymous said...

viagra online generic online store viagra - viagra dosage by weight

Anonymous said...

tramadol generic buy tramadol online no prescription cheap - tramadol to get high

Anonymous said...

buy tramadol online tramadol 50mg buy online - tramadol online safe

Anonymous said...

buy generic soma soma drug uses - order soma drug

Anonymous said...

discount ambien ambien side effects heart palpitations - ambien generic cost at walmart

Anonymous said...

viagra online generic viagra dangers - where to buy women's viagra

Anonymous said...

buy viagra professional cheap viagra canadian pharmacy - order viagra online australia

Anonymous said...

cheap tramadol tramadol 50mg recommended dosage - tramadol vs percocet high

Anonymous said...

buy viagra online buy viagra manila - buy viagra korea

Anonymous said...

buy cheap viagra no prescription generic viagra cvs - best place buy viagra online forum

Anonymous said...

buy generic viagra purchase viagra europe - viagra for women natural

Anonymous said...

generic zolpidem generic ambien qualitest - ambien abuse stories

Anonymous said...

cheapest soma soma kendrick - soma jackson ms

Anonymous said...

buy tramadol free shipping buy tramadol 50mg net - order tramadol cod saturday delivery

Anonymous said...

buy klonopin online klonopin prn anxiety - buy klonopin online no prescription

Anonymous said...

cheap viagra next day delivery viagra buy singapore - viagra online reliable

Anonymous said...

viagra pharmacy viagra for women cream - want buy generic viagra

Anonymous said...

order viagra online without a prescription buy viagra prescription - viagra online argentina

Anonymous said...

cialis online cialis daily headache - cialis 5mg side effects

Anonymous said...

buy generic soma soma online ship texas - discount fabrics soma

Anonymous said...

buy tramadol ultram tramadol 100mg vaikutusaika - buy tramadol discover card

Anonymous said...

tramadol online overnight tramadol hcl brand name - tramadol to buy online

Anonymous said...

cialis online generic cialis ebay - buy cialis online in nz

Anonymous said...

buy tramadol cod overnight tramadol for dogs dose - can you buy tramadol in turkey

Anonymous said...

sildenafil 100mg generic viagra online canadian pharmacy - buy viagra online los angeles

Anonymous said...

buy tramadol no prescription tramadol dosage use dogs - buy tramadol direct

Anonymous said...

buy viagra las vegas buy 1 viagra - viagra effective time

Anonymous said...

buy viagra online legally viagra online free trial - buy cheap viagra online next day delivery

Anonymous said...

where to buy tramadol online buy tramadol online overnight mastercard - tramadol withdrawal help

Anonymous said...

cialis online pharmacy cialis daily online - cialis 8cpr riv 20mg

Anonymous said...

tramadol no prescription buy tramadol in missouri - tramadol 50 mg bivirkninger

Anonymous said...

buy tramadol cod next day delivery generic tramadol for dogs - tramadol depression

Anonymous said...

propecia online buy generic propecia australia - propecia results 3 months

Anonymous said...

cheap tramadol no prescription tramadol 50mg biogaran - order tramadol with cod

Anonymous said...

buy viagra online buy viagra online cheap no prescription - where to buy viagra in stores

Anonymous said...

buy cialis online safely buy original cialis online - cialis online no prescription uk

Anonymous said...

buy viagra online paypal viagra xanax combination - generic viagra discussion forum

Anonymous said...

buy generic tramadol how to buy tramadol online - tramadol online overnight shipping

Anonymous said...

buy tramadol no prescription tramadol hcl 37.5-3 tab myla - tramadol 50mg tablets

Anonymous said...

viagra buy buy viagra canadian pharmacy - viagra kanye west

Anonymous said...

buy tramadol online cod overnight tramadol promethazine high - legal buy tramadol online united states

Anonymous said...

cheap tramadol no prescription order tramadol cod overnight - tramadol no prescription fedex

Anonymous said...

buy tramadol overnight tramadol addiction and seizures - buy tramadol online safely

Anonymous said...

buy propecia online propecia study results - propecia cost per month

Anonymous said...

online pharmacy retin a retin a micro where to buy - retin a cream for wrinkles around the eyes

Anonymous said...

tramadol 100 tramadol al 100mg nebenwirkungen - tramadol wiki

Anonymous said...

buy propecia online buy propecia bangkok - propecia safety

Anonymous said...

buy tramadol rx buy tramadol in usa - tramadol withdrawal wikipedia

Anonymous said...

order propecia online generic propecia singapore - generic for propecia

Anonymous said...

purchase tramadol tramadol high off - buy tramadol no prescription online

Anonymous said...

tramadol online tramadol 50mg tablets used - how to buy tramadol online overnight

Anonymous said...

buy retin-a retin-a micro gel side effects - retin-a cream is for

Anonymous said...

tramadol online no prescription tramadol 50mg street - tramadol for dogs with pancreatitis

Anonymous said...

buy tramadol online no prescription tramadol dosage guidelines - tramadol 50mg arrow

Anonymous said...

buy tramadol online tramadol addiction risk - tramadol addiction therapy

Anonymous said...

buy tramadol online tramadol dosage small dogs - tramadol online american express

Anonymous said...

buy tramadol online tramadol al 100mg retardtabletten nebenwirkungen - tramadol withdrawal long does last

Anonymous said...

buy tramadol tramadol dosage puppy - tramadol 50 mg ingredients

Anonymous said...

buy retin-a retin-a micro gel for sale - retin-a micro diary

Anonymous said...

buy tramadol online tramadol 100mg caps - tramadol for dogs side effects

Anonymous said...

buy tramadol online buy tramadol legally - tramadol dosage chart

Anonymous said...

tramadol 50mg buy tramadol overnight saturday delivery - best buy tramadol

Anonymous said...

buy tramadol tramadol buy - tramadol online doctor consult

Anonymous said...

propecia online pharmacy order generic propecia online - propecia generic united states

Anonymous said...

tramadol online order tramadol from usa) - tramadol for dogs best price

Anonymous said...

buy tramadol online mastercard overnight tramadol for dogs 50 mg - buy tramadol online no prescription next day delivery

Anonymous said...

tramadol online pharmacy tramadol 50 mg high - tramadol trip

Anonymous said...

viagra online without prescription where is the cheapest place to buy generic viagra - order viagra online usa

Anonymous said...

tramadol 50 mg tramadol generic for ultram - tramadol hcl obat

Anonymous said...

buy tramadol tramadol 50 mg cheap - buy ultram online canada

Anonymous said...

buy tramadol tramadol high dosage - tramadol with high blood pressure

Anonymous said...

cheap tramadol tramadol without prescription - tramadol hcl 93 58

Anonymous said...

buy cialis order real cialis - cialis online nz

Anonymous said...

buy tramadol buy cheap tramadol no prescription - buy tramadol an 627

Anonymous said...

viagra online without prescription viagra for women wiki - buy generic viagra online us

Anonymous said...

order tramadol buy tramadol montreal - tramadol hcl snorting

Anonymous said...

viagra pills order viagra now - buy generic viagra cialis levitra

Anonymous said...

buy tramadol online no prescription buying tramadol online reviews - tramadol dosage and effects

Anonymous said...

generic cialis cialis jelly review - where to order cialis online

Anonymous said...

viagra online without prescription buy 25 mg viagra - can you buy generic viagra in us

Anonymous said...

generic cialis order cialis online no prescription - cialis online discover card

Anonymous said...

cheap cialis cialis отзывы - buy brand name cialis online

Anonymous said...

cheap viagra buy generic viagra gel - order viagra online canadian pharmacy

Anonymous said...

generic cialis buy cialis online usa - cialis online mexico

Anonymous said...

cheap viagra best generic viagra online - is generic viagra online real

Anonymous said...

buy cialis generic cialis paypal payment - generic cialis germany

Anonymous said...

buy cialis 20mg cialis 5 mg daily side effects - cialis reviews patients

Anonymous said...

buy generic cialis cialis 36 vs daily - cheap cialis with no prescription

Anonymous said...

generic cialis cialis 20 mg - cialis reviews 20 mg

Anonymous said...

buy soma online soma medication interactions - generic soma codeine

Anonymous said...

soma drug soma drug novel - soma san diego upcoming events

Anonymous said...

generic cialis order cialis online overnight - cialis online legal

Anonymous said...

buy soma online buy soma online ship to texas - ambien and soma drug interactions

Anonymous said...

cheapest cialis cialis online western union - cialis daily use vs 36 hour

Anonymous said...

buy viagra can you buy viagra us - buy viagra cialis us

Anonymous said...

viagra online buy viagra tokyo - buy viagra us at shoppers drug mart

Anonymous said...

buy soma generic soma drug screen - soma medication online

Anonymous said...

online soma soma san diego - soma inn cafe

Anonymous said...

online soma cheapest soma online - buy soma usa

Anonymous said...

buy soma online soma cube online game - online soma cube

Anonymous said...

cheapest soma aura soma 0 - soma san diego march 11

Anonymous said...

soma online soma generic - soma drug test detection

Anonymous said...

soma sale soma for sale no prescription - buy soma with american express

Anonymous said...

soma pills order soma online ga - soma of san diego

Anonymous said...

cheap soma soma nightclub san diego - what is soma 350 mg

Anonymous said...

buy soma buy somatropin pills - soma 150 pills

Anonymous said...

buy tramadol online tramadol 50mg dosage humans - tramadol 50 mg tab amne

Anonymous said...

carisoprodol soma soma furniture - soma drug wikipedia

Anonymous said...

best buy tramadol buy tramadol safely - tramadol causes high blood pressure

Anonymous said...

retin a buy online retin-a micro manufacturer - retin-a buy

Anonymous said...

buy tramadol buy tramadol saturday delivery - best website buy tramadol

Anonymous said...

buy retin-a retin-a hair loss - retin a micro dark spots on skin

Anonymous said...

generic tramadol mail order tramadol - tramadol 200mg online

Anonymous said...

buy tramadol online tramadol hcl xr 100mg - tramadol t7

Anonymous said...

buy tramadol buy tramadol ship to florida - generic ultram online

Anonymous said...

buy tramadol online buy tramadol in florida - no prescription tramadol overnight delivery

Anonymous said...

cheap tramadol 350 mg tramadol high - order tramadol on line

Anonymous said...

order tramadol online mastercard buy tramadol cod delivery - buy tramadol buy cod

Anonymous said...

buy retin-a without prescription retin a cream tretinoin 0.1 - buy retin a micro amazon

Anonymous said...

cheap tramadol tramadol 50 mg buy online - cheap tramadol online

Anonymous said...

retin a online retin a micro gel yahoo answers - buy retin a micro online no prescription

Anonymous said...

where to buy tramadol tramadol 50 mg with ibuprofen - buy tramadol online forum

Anonymous said...

tramadol 50mg tramadol hydrochloride addiction - buy tramadol online no rx

Anonymous said...

buy retin-a without prescription retin-a cream 0.05 for acne scars - retin a micro side effects rash

Anonymous said...

cheap tramadol tramadol risks - tramadol online next day delivery

Anonymous said...

tramadol no rx buy tramadol online from mexico - tramadol hcl user reviews

Anonymous said...

buy tramadol online with mastercard buy tramadol saturday delivery - tramadol withdrawal help

Anonymous said...

tramadol 50 mg buy tramadol online legit - tramadol urine test

Anonymous said...

cialis drug cialis not working - cialis daily generic

Anonymous said...

buy tramadol 100mg can you get tramadol online legally - tramadol cod money order

Anonymous said...

buy tramadol online buy tramadol extended release - buy tramadol 6914

Anonymous said...

xanax online xanax overdose memory loss - xanax pills dosage

Anonymous said...

xanax online xanax overdose toxicity - non-prescription xanax online

Anonymous said...

generic xanax online xanax withdrawal from . 25 mg - white round 2mg xanax

Anonymous said...

tramadol without prescription tramadol dosage per day - tramadol hcl en espanol

Anonymous said...

buy tramadol tramadol medication no prescription - generic tramadol online no prescription

Anonymous said...

tramadol online tramadol hcl 50 mg recreational use - can you buy tramadol in greece

Anonymous said...

generic xanax xanax withdrawal medication - xanax dosage in children

Anonymous said...

buy tramadol online no prescription cod safe order tramadol online - tramadol snort

Anonymous said...

tramadol online tramadol no prescription next day delivery - tramadol 50 mg mfg zydus

Anonymous said...

tramadol online tramadol hcl 50 mg generic ultram - tramadol 50mg capsules dosage

Anonymous said...

where to buy tramadol online legal order tramadol online - cheap tramadol overnight delivery

Anonymous said...

buy cialis from canada buy cheap cialis from us - cialis .99

Anonymous said...

buy generic cialis cialis wholesale price - buy cialis mexico

Anonymous said...

buy klonopin online klonopin withdrawal and nausea - 2 mg klonopin high

Anonymous said...

buy tramadol online tramadol for dogs no rx - tramadol dose get high

Anonymous said...

buy klonopin online klonopin 2 mg erowid - klonopin rebound anxiety

Anonymous said...

buy generic tramadol no prescription buy tramadol cash on delivery - buy tramadol180

Anonymous said...

http://www.njbic.org/online/buytramadol/#8507 buy generic tramadol online - tramadol 100 mg

Anonymous said...

cheap tramadol buy cheap tramadol - buy tramadol usa

Anonymous said...

For his or her supplementation comprising nutritional supplements, enzymes along with
essential nutrient elements together can help you to wipe off night bags under eyes.
Do not forget to you recognize family group on this .
very good Peer to peer web interfaces! Though you still might not want it given that DeLonghi espresso machine house owners
hold the costly cost akin to return back available. Move non-chemical come across one near!
A wide range of gluten free pastries pots and pans trust in a person's entire flour to be able to an food.

Here is my web-site; turkish coffee automatic

Anonymous said...

can you buy ambien at walmart buy ambien cr online no prescription - order ambien from india