66366 members! Sign up to stay informed.

Sponsored Links


Resources

.NET Research Library
Get .NET related white papers, case studies and webcasts

News News News Messages: 1 Messages: 1 Messages: 1 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Three Generics FAQ Lists Published

Posted by: Paul Ballard on October 28, 2005 DIGG
Microsoft has published three separate lists of Frequently Asked Questions and answers on the subject of Generics. The lists are divided into the topics of Fundamentals, Tool Support, and the .NET Framework. Some sample questions are "How do I Reflect Generic Types", "What is a Generic Type Interface", and "What are constraints".

The complete list of Questions for each FAQ are as follows:
Fundamentals
  • What Is a Generic Type?
  • What Is a Generic Type Parameter?
  • What Is a Generic Type Argument?
  • What Is a Constructed Type?
  • What Is an Open Constructed Type?
  • What Is a Closed Constructed Type?
  • How Do I Use a Generic Type?
  • How Do I Initialize a Generic Type Parameter?
  • What Are the Benefits of Generics?
  • Why Can't I Use Type-Specific Data Structures Instead of Generics?
  • When Should I Use Generics?
  • Are Generics Covariant, Contra-Variant, or Invariant?
  • What Can Define Generic Type Parameters? What Types Can Be Generic?
  • Can Methods Define Generic Type Parameters? How Do I Call Such Methods?
  • Can I Derive From a Generic Type Parameter?
  • What Is a Generic Type Inference?
  • What Are Constraints?
  • What Can I Not Use Constraints With?
  • Why Can I Not Use Enums, Structs, or Sealed Classes as Generic Constraints?
  • Is Code that Uses Generics Faster than Code that Does Not?
  • Is an Application That Uses Generics Faster than an Application That Does Not?
  • How Are Generics Similar to Classic Visual C++ Templates?
  • How Are Generics Different from Classic Visual C++ Templates?
  • What Is the Difference Between Using Generics and Using Interfaces (or Abstract Classes)?
  • How Are Generics Implemented?
  • Why Can't I Use Operators on Naked Generic Type Parameters?
  • When Can I Use Operators on Generic Type Parameters?
  • Can I Use Generic Attributes?
  • Are Generics CLS Compliant?
.NET Framework
  • Which Versions of the .NET Framework Support Generics?
  • Can I Use Generics in Web Services?
  • Can I Use Generics in Enterprise Services?
  • Can I Use Generics in Indigo?
  • Can I Use Generics in .NET Remoting?
  • Can I Use Visual Studio 2003 or the .NET Framework 1.1 to Create Generics?
  • What Environment Do I Need to Use Generics?
  • Can I Use Generics on the Compact Framework?
  • Which .NET Languages Support Generics and How?
  • Where Does the .NET Framework Itself Use Generics?
  • What Are the Generic Collection Classes?
  • What Are the Generic Delegates?
  • What Are the Generic Methods of System.Array?
  • What Are the Generic Methods of List<T>?
  • What Are Nullable Types?
  • How Do I Reflect Generic Types?
Tool Support
  • How Does Visual Studio 2005 Support Generics?
  • Can I Data-Bind Generic Types to Windows and Web Data Controls?
  • How Are Web Service Proxies Created for Generic Types?

  Message #189600 Post reply Post reply Post reply Go to top Go to top Go to top

Fourth FAQ: Best Practices

Posted by: Eric Rybarczyk on October 30, 2005 in response to Message #189527
There seem to be four Generics FAQ pages, all dated October 2005 and all by Juval Lowy. The fourth is Best Practices, located at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/BestPractices.asp

List of questions:

When Should I Not Use Generics?
What Naming Convention Should I Use for Generics?
Should I Put Constraints on Generic Interfaces?
How Do I Dispose of a Generic Type?
Can I Cast to and from Generic Type Parameters?
How Do I Synchronize Multithreaded Access to a Generic Type?
How do I Serialize Generic Types?

Apologies if this was previously posted.

 
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET

DSLs and language interop

Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.

VS 2008 Resources

SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.

VB code downloads home

VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.

XAML Learning Guide

Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]

Company uses VSTS DB edition to tame workflow

One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts. (June 24, Article)

Book: Intro to DSL Tools

Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage. (June 24, Article)

I See the Silverlight Shining!

Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server . (June 18, Cartoon)

A look at .NET 3.5

Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps. (June 29, Podcast)

Venkat Subramaniam on AJAX

Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience. (June 25, Tech Talk)

Building a Claims-Based Security Model in WCF - Part 2

In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier. (May 24, Article)

Introducing the Entity Framework

Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year. (May 10, Article)

WCF Security Learning Guide

Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information. (April 24, Article)

Brad Abrams: Patterns for successful ASP.NET AJAX development

TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks. (April 11, Article)

Building a Claims-Based Security Model in WCF

In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services. (March 29, Article)

Authoring workflow using XAML

Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition. (March 22, Chapter Excerpt)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map