What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

While I was trying to answer the question, "What are generics in asp.net", I got an orange bar at the top telling me the question was deleted and no more answers were accepted.

This is annoying.

It feels the same as when your word processor crashes in the middle of writing. In fact, the question was neither offensive nor off topic. I guess the person simply wanted to get the information from a "live" person instead of asking google about it.

At work, it happens to me many times that someone would ask me a question and I simply type his question into Google and have him look at the results together with me. I see nothing wrong in that.

My answer was as follows:

Generics are not particularly in asp.net but in C# since version 2.0.

Generics allow you to define type-safe data structures, without committing to actual data types. This results in a significant performance boost and higher quality code, because you get to reuse data processing algorithms without duplicating type-specific code.

a great introduction can be found at

http://msdn.microsoft.com/en-us/library/ms379564%28VS.80%29.aspx

share|improve this question

migrated from stackoverflow.com Sep 15 '09 at 6:06

This question came from our site for professional and enthusiast programmers.

    
yep and my answer was Generics are similar to templates in C++. It provides a way to provide functionality independent to datatype. Using generics you can provide a definition of function/class in generics and use it for any datatype you want e.g. class commonToAllDatatypes<T>{ T someFunction(){ } } now you can use this class for any datatype you want. Internally compiler will replace T with your datatype. –  Xinus Sep 15 '09 at 6:04
3  
I'm afraid you'll be disappointed by what happens to this question. I suggest you may enjoy the 'meta' forum: meta.stackoverflow.com –  please delete me Sep 15 '09 at 6:04
    
@Xinus, No. Generics are not really like templates in C++. blogs.msdn.com/ericlippert/archive/2009/07/30/… –  MarkJ Sep 16 '09 at 21:52

4 Answers 4

No one is closing questions from beginners. The mods are, however, closing questions that are:

  • exact duplicate
  • not computer related
  • subjective and argumentative
  • not a real question
  • purely videogame or console related
  • no longer relevant
  • too localized
  • belongs on meta.stackoverflow.com (except for meta)
  • belongs on stackoverflow.com (except for SO)
  • belongs on serverfault.com (except for SF)
  • belongs on superuser.com (except for SU)

It is highly likely that the question that you are referring to was closed because it was a duplicate of another question. It is a sad fact of reality that often 'beginners' will come along and ask the same question that has been asked before.

Please keep in mind that SOFU still allows questions of all levels. It is even discussed in the FAQ:

As long as your question is:

  • detailed and specific
  • written clearly and simply
  • of interest to at least one other programmer somewhere

...it is welcome here. No question is too trivial or too "newbie".

If a question violates any of these 'rules', then it will be closed either by 'consensus' (5 votes from users) or a moderator. The SOFU system will not wait until you have posted your answer, nor will it just not close it if you have posted answers. A question can be closed at any time during it's life, regardless of votes, views or answers. Yes, it is annoying to those who have put time and effort into a answering a question (or even asking it), but life is tough. Sorry.

share|improve this answer

Most likely it was a duplicated question.

As long as your question is:

* detailed and specific
* written clearly and simply
* of interest to at least one other programmer somewhere

... it is welcome here. No question is too trivial or too "newbie". Oh yes, and it should be about programming. You know, with a computer.

Please look around to see if your question has already been asked (and maybe even answered!) before you ask. If you end up asking a question that has been asked before, that is OK and deliberately allowed. Other users will hopefully edit in links to related or similar questions to help future visitors find their way.

share|improve this answer

Maybe the OP deleted his/her own question after he/she found the answer on Google.

share|improve this answer
    
You can link your accounts and get a 100 rep boost here on meta. –  perbert Sep 15 '09 at 6:13
    
Thanks, didn't know that! –  Philippe Leybaert Sep 15 '09 at 6:43

I can't find any such question either deleted or closed. But I can find the same question (not closed) from several months ago. So most likely that question was closed as a duplicate.

I really doubt it was deleted while you were writing an answer unless you're exceptionally slow — questions have to be closed for days before users with 10k+ rep are allowed to vote for deletion.

share|improve this answer
    
I found it and it was deleted. Here is the link for the 10k+ers stackoverflow.com/questions/1425342/what-is-generics-in-asp-net –  perbert Sep 15 '09 at 6:26
1  
Right, the question was deleted by the user who asked it (just minutes before). Since SO allows low-activity questions to be deleted, there's not much we can do about the poor user who is busy trying to answer it. That's why SO lets you know as soon as it knows that the question was deleted. –  Greg Hewgill Sep 15 '09 at 7:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .