Visual Studio .NET Developer
Browse by Tags
-
Just as in generic classes, it is useful to define generic interfaces. It's useful to define generic interfaces for collections such as linked lists. In this example, we are defining a generic interface that requires T to be a reference type. // File: Read More...
|
-
You can also set up constraints on generic classes. What if you wanted to create a generic list of objects that derived from a certain base class? This would allow you call certain functions that existed in that class. By constraining the type, you increase Read More...
|
-
Visual Studio 2005 also introduces the next version of C#. C# 2.0 introduces generics, iterators, partial class definitions, nullable types, anonymous methods, the :: operator, static classes, accessor accessibility, fixed sized buffers (unsafe), friend Read More...
|
-
If you go up to http://www.msdn.com/express it takes you to the beta versions of the Express skus. It has some cool features that help out in doing Test Driven development. For example, when you have an open file of a project a refactor menu option shows Read More...
|
-
I've been heads down investigating fixes for the Express skus. I want to thank everyone for their help in assisting me. I've emailed many of you to get more information. We are making changes to make the Express skus more robust when downloading the large Read More...
|
-
I'm currently investigating the source of the download failures for the Express skus. Our number one problem is that we are seeing timeout problems. Unfortunately, that could be caused by many factors, including just Internet problems. Please contact Read More...
|
-
We finally put the Express skus up on the web. Our first attempt was on Wednesday at midnight. We've been working on making our setups downloadable. We use the BITS technology to download the files and then install them. One of the major reasons for using Read More...
|
-
I saw Brad's blog on Serial Programming in Whidbey . It made me think about the days when I used to communicate with BBS's on a 2400 baud modem. I saw one of the C# serial demo projects required an LCD display from Crystalfontz . I went ahead and ordered Read More...
|
-
Balmer gave the keynote address to a packed crowd. He brought up the mission of doing more with less. Our industry along with education and healthcare have the chance to change people's lives. Everyone in our field has that opportunity. There are so many Read More...
|
-
You have several ways of getting an interface object. The implicit way has the advantage in that the compiler makes sure that the interface is implemented by the class. The disadvantage is that someone reading your code won't know that this is an interface Read More...
|
-
How do you display the contents of your custom classes. When you hover over a variable in the debugger, it shows you the contents of the variable. How do you do that for your own classes? In the directory C:\Program Files\Microsoft Visual Studio .NET Read More...
|
-
So what is the difference between event s and delegate s? The reality is that currently they are basically the same. The difference is that the += operator that is used to add a delegate function to an event is thread-safe whereas when using a delegate Read More...
|
-
When you implement an interface that has a property. You would think that you wouldn't be able to add additional accessors. Given the IDisplay interface below then class should only be allowed to implement the set accessor. But in reality since properties Read More...
|
-
If you have interfaces derived from other interfaces it makes explicit implementation of them a little funny in the class. Notice that in the following code (class TestBar) when you implement IBar that you need to use IFoo even though the class only indicates Read More...
|
-
I finished my first pass at the Advanced ASP.NET course. Here's a snippet of my section on graphics... Add a new web form named Chart.aspx. Modify Page_Load as follows: private void Page_Load(object sender, System.EventArgs e)
{ Random r = new Random(); Read More...
|