Click here to Skip to main content
15,868,034 members
Home / Discussions / C#
   

C#

 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
F-ES Sitecore26-Oct-20 1:15
professionalF-ES Sitecore26-Oct-20 1:15 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff26-Oct-20 2:09
professionalBillWoodruff26-Oct-20 2:09 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
Richard MacCutchan26-Oct-20 2:38
mveRichard MacCutchan26-Oct-20 2:38 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
F-ES Sitecore26-Oct-20 2:55
professionalF-ES Sitecore26-Oct-20 2:55 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
Richard Deeming26-Oct-20 2:34
mveRichard Deeming26-Oct-20 2:34 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff26-Oct-20 3:50
professionalBillWoodruff26-Oct-20 3:50 
AnswerRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff26-Oct-20 23:59
professionalBillWoodruff26-Oct-20 23:59 
GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
harold aptroot27-Oct-20 0:45
harold aptroot27-Oct-20 0:45 
I'm not sure. How I interpreted your previous post was that you wanted something like this
IBeing<Cat> b3 = (IBeing<Cat>) cache[1];

Or this
Cat hepcat = BeingCache.GetBeing<Cat>(cache[1]);

Except without mentioning Cat (writing IBeing<Cat> or GetBeing<Cat> or even just Cat would be "hard-coding a specific type"), but not IBeing b1 = cache[1] (because it wouldn't allow "interesting uses" of b1 such as accessing b1.IBInstance). I still don't think that can be done (at least within the constraints given), but maybe that isn't what you meant.

modified 27-Oct-20 7:03am.

GeneralRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff27-Oct-20 5:46
professionalBillWoodruff27-Oct-20 5:46 
QuestionHow to allow numbers and special characters in a textBox in C#? Pin
Alex Dunlop25-Oct-20 5:51
Alex Dunlop25-Oct-20 5:51 
AnswerRe: How to allow numbers and special characters in a textBox in C#? Pin
Richard MacCutchan25-Oct-20 6:19
mveRichard MacCutchan25-Oct-20 6:19 
GeneralRe: How to allow numbers and special characters in a textBox in C#? Pin
Alex Dunlop25-Oct-20 7:00
Alex Dunlop25-Oct-20 7:00 
GeneralRe: How to allow numbers and special characters in a textBox in C#? Pin
Richard MacCutchan25-Oct-20 7:13
mveRichard MacCutchan25-Oct-20 7:13 
AnswerRe: How to allow numbers and special characters in a textBox in C#? Pin
BillWoodruff25-Oct-20 21:58
professionalBillWoodruff25-Oct-20 21:58 
QuestionHi guys, currently making a guessing game and need some help with my code.. Pin
Member 1497438624-Oct-20 12:53
Member 1497438624-Oct-20 12:53 
AnswerRe: Hi guys, currently making a guessing game and need some help with my code.. Pin
BillWoodruff24-Oct-20 15:04
professionalBillWoodruff24-Oct-20 15:04 
GeneralMessage Closed Pin
22-Oct-20 21:58
Osman Bur22-Oct-20 21:58 
GeneralRe: Kayan Yazı Pin
CHill6022-Oct-20 22:09
mveCHill6022-Oct-20 22:09 
GeneralRe: Kayan Yazı Pin
OriginalGriff22-Oct-20 22:14
mveOriginalGriff22-Oct-20 22:14 
QuestionInconveniente con la función MesageBox en C# Pin
Hernán Camilo21-Oct-20 8:50
professionalHernán Camilo21-Oct-20 8:50 
AnswerRe: Inconveniente con la función MesageBox en C# Pin
Richard MacCutchan21-Oct-20 22:02
mveRichard MacCutchan21-Oct-20 22:02 
GeneralRe: Inconveniente con la función MesageBox en C# Pin
jsc4222-Oct-20 23:28
professionaljsc4222-Oct-20 23:28 
GeneralRe: Inconveniente con la función MesageBox en C# Pin
Richard MacCutchan22-Oct-20 23:54
mveRichard MacCutchan22-Oct-20 23:54 
AnswerRe: Inconveniente con la función MesageBox en C# Pin
OriginalGriff23-Oct-20 1:13
mveOriginalGriff23-Oct-20 1:13 
QuestionApertura de Archivos en C# ASP.Net interactuando con base de datos SQL Server Pin
Hernán Camilo21-Oct-20 8:50
professionalHernán Camilo21-Oct-20 8:50 

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.