How many times you have to bullet proof your application against some bad or junk data ? Sometimes we might not have anticipated some scenario until quite a while. And this can quite possible if your application relies on some other program ( data from web service, some sort of incoming XML or something like that )
Well LINQ is your friend !
Just a heads up :
Going forward I shall try to maintain all string manipulation related posts ALSO under ‘string-manipulation‘ tag, just if that helps you drill down the content better. Cheers ! 😉
Continue reading Remove strings between double quotes
Scenario : At the time of consuming data from another application or program, one of the frequent issue is data in and data out ! I was working for similar scenario the other day where a flat was generated and then another program had lexical parser and would generate tokens etc. Long story short, in a typical workflow we had blank lines and they were causing issue. Very simple issue … once this stupid thing is identified and verified being the actual culprit !
Let’s take a look :
Continue reading Quickly Clean-up Blank lines from a multi-line String
I am going to share all the code snippets that I have. At the moment, this page is being updated, every, single, day. You can download most of the archives from here, at once.
Most posts in this section would be describing Mid to advanced level of features of C#, mainly as
a console application [View
Most posts in this section would be describing Mid to advanced level of features of ASP.NET / C# ,
mainly as simple web projects [View
Mostly in this section would be describing features of LINQ, mainly as a C# console application [View
Mostly in this section would be describing features of in-demand tools & libraries like TFS, twitter, facebook
, using C# mainly [View
This section would be talking about ASP.NET AJAX Controls in, code snippets.
Most posts in this section would be describing Windows Phone, Applications
Muttitasking is a myth, The only type of multi tasking I know is to think about a problem and then to sleep ! Many of the times I hear people talking, “I can multi task” well most of the times it actually is not it, but just “task switching”. You know it probably is 3:30 pm and you’re so deep and concentrated on your task, coding, designing, reading, planning whatever may it be, and then all of a sudden your phone rings, if you notice carefully, you’re dumping the thought process of your current task and answering the call, ( chances are less that you’d continue “multi tasking” and you’d be doing both them well ! ) What could you’ve done ? You could’ve probably asked your phone to keep mum !
The way I start my day is I ask my self what N ( = 3 ) things I want to accomplish today ? Then visualize those things getting accomplished, just imagine, how good would I feel if these N things get done today. Then what I do ? Continue reading Management