Found about 10 opinions about parent_forum:microsoft.public.dotnet.languages.csharp order:newer.
(Page 1)
1.
Visual Basic is Dead!
(16 Jun 2009)
On Tue, 16 Jun 2009 20:38:33 +0200, "Marcus" <marcus@imperator.hr
I found this: http://du2.in/VBDead
It means that C# will completely replace Visual Basic. What dou you think
about this, is VB dead?
2.
Opinion Wanted - How to Expose a Collection
(24 May 2009)
On Sun, 24 May 2009 12:23:31 -0700 (PDT), "jehugaleahsa@gmail.com" <jehugaleahsa@gmail.com
Hello:
The "gurus" out there suggests being very careful about how your
expose collections in your interface. If you do not intend the users
of your class to alter a collection, you must make sure that they
can't.
Here are some common implementations for returning a collection and
some of their pros and cons. Take a look and tell me what you
typically do and which one you think is the best practice...
3.
difference between C# 2005 and C# 2008?
(22 May 2009)
On Fri, 22 May 2009 20:37:01 -0700 (PDT), S Claus <santa@temporaryinbox.com
Hi all
I have MS Visual Studio 2005 and have been thinking about taking up
C#. The "Illustrated C# 2005" and "Illustrated C# 2008" books (by
Daniel Solis) seem to be quite good for this, but would there be many
differences in the code and explanations written for C# 2008 and my
version of C#?
Thanks,
4.
OT: Binary Search - Should They Know It?
(20 May 2009)
On Wed, 20 May 2009 19:37:36 -0700 (PDT), "jehugaleahsa@gmail.com" <jehugaleahsa@gmail.com
Hello:
Should the average programmer, like a full-time programmer, know when
to use a Binary Search? Should a serious programmer at least know what
it is? Not so much the name, but at least how it works...?
My opinion is that anyone who spends the majority of their work day
writing code should know what a binary search is.
Should they know when to use a Dictionary? I think they should.
I know a l...
5.
Re: Should Derived Classes Provide Custom Exception?
(16 May 2009)
On Sat, 16 May 2009 20:22:23 -0700 (PDT), "jehugaleahsa@gmail.com" <jehugaleahsa@gmail.com
On May 15, 5:11 am, "Paul" <paulri...@novareconsulting.com
I want to thank Pete and you for your encouragement. I start feel
alone in my cubical some days. My coworkers don't generally know or
care about these low-level details. For the past year or more, our
users have been using a new user interface. Every time they screw up
and leave out a field or try to recreate an existing record, we get an...
6.
Checking type and throwing exception?
(15 May 2009)
On Fri, 15 May 2009 05:03:06 -0700, "Peter" <xdzgor@hotmail.com
Hi, I have a project where there are lots of classes implementing an
interface IGeneralConverter. This has one "Convert" method, which
converts an object of type ICalculationResult to a CalculationResult
object.
An example of one of these classes is below. The common thing for them
is that they check the actual type of the parameter, and if it does not
match the type the handle, then they throw an exception.
Personally I don...
7.
Re: Reading from file into an array
(14 May 2009)
On May 13, 9:10 am, Jesse Houwing <jesse.houw...@newsgroup.nospamwrote:
Jesse
Thanks for that - I was having the same problem with a mixture of
single and double spacing.
I came to this group by looking up Michael's profile to have a peek at
where he was asking questions. I hope the other members of this group
could maybe think about doing the same before jumping on someone.
Sure, the internet is full of people looking for someone else to do
their homework but that was not the case here. I...
8.
Re: WPF/LinqToSql/DataGrid
(13 May 2009)
Hi Bill,
Pete and Pavel have given valuable replies, which are also what I think
about your issue.
Please have a try starting the application by pressing F11 to find out the
line of code that throws the exception.
If it doesn't help, it would be better if you could reproduce the problem
in a simple project. Thus I can look further into this issue and may find
the real reason that causes the problem. My email address is
v-lliu@microsoft.com.
Thank you for your understanding and I look fo...
9.
Report progess during black box process
(07 May 2009)
On Thu, 7 May 2009 20:25:30 -0700 (PDT), Bill <billsahiker@yahoo.com
I am using a dataview to sort a table that can have a million or so
rows. I am reporting to the user the progress while rows are added,
but when the code executes the Sort method there is no progress
reported until the sort finishes, which can take more than a minute
and the Task Manager indicates the application is not responding. I
dont want users to think it has hung. I was thinking about using a
timer to periodical...
10.
Find an item in a list
(29 Apr 2009)
On Wed, 29 Apr 2009 05:21:26 -0700, "Peter" <xdzgor@hotmail.com
Hi
I have a list of "Items" which I need to check whether or not it
contains a certain item (based on the item's "id"). What is the "best"
way of doing this?
For example, an Item is declared as the following (actually it's not,
but this is for illustration - Item is a third party class I cannot
change):
public class Item
{
public string Id { get; set; }
public string Name { get; set; }
}
I have a list containing many...