Tell me how to google what to read about the operator / keyword where in this design for example:

 public class DbSet<TEntity> : DbQuery<TEntity>, IDbSet<TEntity>, IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable, IInternalSetAdapter where TEntity : class 

1 answer 1

A specific link to the documentation is given to you in the comments, but if you want to learn the same focus (prepares the request yourself in Google), then you need to learn a little English and understand the translation of terms.

Those. You can google c # generic where constraint or c # generic type constraint. The more accurately you know the area, the fewer the links to search. Well, for this it is good to understand the subject area - how to say in English “generalization / generic” (yes, many terms are traced and you should know them) and how to say “restriction”.

Please note: the link was almost the first and in the title of the Russian text you can see the English terms, they were just like that.

See also related questions:

  • one
    In fact, simply "c # where" is exactly what I was googling. If the TS knew that this was "generic" and "constraint", then the question might not have arisen. Although that prevented just google like me ... - Andrew NOP
  • Jokes counted. The problem was that I could not find how such a construction is called (not generalizations, but a generalization using where - constraint). Thank. It is a pity, I was not born immediately clever, as you were born, I would not ask such questions. By the way, in Troelsen, I apparently overslept this chapter. - Winteriscoming
  • @AndrewNOP I searched like this "generalization of c # where" - Winteriscoming