Click here to Skip to main content
14,689,513 members
Home » Discussions » C#
   

C#

 
GeneralRe: How to launch a form only once Pin
OriginalGriff27-Oct-20 11:42
mveOriginalGriff27-Oct-20 11:42 
AnswerRe: How to launch a form only once Pin
Gerry Schmitz26-Oct-20 15:50
mveGerry Schmitz26-Oct-20 15:50 
AnswerRe: How to launch a form only once Pin
Richard Deeming26-Oct-20 23:10
mveRichard Deeming26-Oct-20 23:10 
QuestionDesign an elegant solution for choosing a class whose method gets called Pin
Member 1497555126-Oct-20 7:13
MemberMember 1497555126-Oct-20 7:13 
AnswerRe: Design an elegant solution for choosing a class whose method gets called Pin
Gerry Schmitz26-Oct-20 15:58
mveGerry Schmitz26-Oct-20 15:58 
Questionan apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff25-Oct-20 23:18
mveBillWoodruff25-Oct-20 23:18 
AnswerRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
pkfox25-Oct-20 23:58
professionalpkfox25-Oct-20 23:58 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff26-Oct-20 0:15
mveBillWoodruff26-Oct-20 0:15 
Hi, Appreciate your response. I am still baffled: when BeingCache.SetCache is called within the two non-generic classes 'Human and 'Cat ... like this:

BeingCache.SetCache(this); // :wtf:

How does the generic static method:

public static void SetCache<T>(T value) ''

not throw a compile time error, or a run-time error ?
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
pkfox26-Oct-20 0:59
professionalpkfox26-Oct-20 0:59 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff26-Oct-20 3:13
mveBillWoodruff26-Oct-20 3:13 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
pkfox26-Oct-20 3:48
professionalpkfox26-Oct-20 3:48 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
F-ES Sitecore26-Oct-20 2:15
mveF-ES Sitecore26-Oct-20 2:15 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff26-Oct-20 3:09
mveBillWoodruff26-Oct-20 3:09 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
Richard MacCutchan26-Oct-20 3:38
mveRichard MacCutchan26-Oct-20 3:38 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
F-ES Sitecore26-Oct-20 3:55
mveF-ES Sitecore26-Oct-20 3:55 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
Richard Deeming26-Oct-20 3:34
mveRichard Deeming26-Oct-20 3:34 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff26-Oct-20 4:50
mveBillWoodruff26-Oct-20 4:50 
AnswerRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff27-Oct-20 0:59
mveBillWoodruff27-Oct-20 0:59 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
harold aptroot27-Oct-20 1:45
Memberharold aptroot27-Oct-20 1:45 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff27-Oct-20 6:46
mveBillWoodruff27-Oct-20 6:46 
QuestionHow to allow numbers and special characters in a textBox in C#? Pin
Alex Dunlop25-Oct-20 6:51
MemberAlex Dunlop25-Oct-20 6:51 
AnswerRe: How to allow numbers and special characters in a textBox in C#? Pin
Richard MacCutchan25-Oct-20 7:19
mveRichard MacCutchan25-Oct-20 7:19 
GeneralRe: How to allow numbers and special characters in a textBox in C#? Pin
Alex Dunlop25-Oct-20 8:00
MemberAlex Dunlop25-Oct-20 8:00 
GeneralRe: How to allow numbers and special characters in a textBox in C#? Pin
Richard MacCutchan25-Oct-20 8:13
mveRichard MacCutchan25-Oct-20 8:13 
AnswerRe: How to allow numbers and special characters in a textBox in C#? Pin
BillWoodruff25-Oct-20 22:58
mveBillWoodruff25-Oct-20 22:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.