Click here to Skip to main content
15,891,943 members
Home / Discussions / C#
   

C#

 
GeneralRe: EF Core 6 Repository Pattern Pin
Kevin Marois6-Jan-23 5:38
professionalKevin Marois6-Jan-23 5:38 
GeneralRe: EF Core 6 Repository Pattern Pin
Richard Deeming8-Jan-23 21:35
mveRichard Deeming8-Jan-23 21:35 
QuestionMysql database freezes with Visual Sudio C# Pin
Member 1405587918-Dec-22 5:44
Member 1405587918-Dec-22 5:44 
AnswerRe: Mysql database freezes with Visual Sudio C# Pin
RedDk18-Dec-22 10:10
RedDk18-Dec-22 10:10 
AnswerRe: Mysql database freezes with Visual Sudio C# Pin
Dave Kreskowiak18-Dec-22 11:20
mveDave Kreskowiak18-Dec-22 11:20 
AnswerRe: Mysql database freezes with Visual Sudio C# Pin
Richard Deeming18-Dec-22 21:08
mveRichard Deeming18-Dec-22 21:08 
QuestionMulti-threaded debugging Pin
Richard Andrew x6411-Dec-22 6:12
professionalRichard Andrew x6411-Dec-22 6:12 
AnswerRe: Multi-threaded debugging Pin
Gerry Schmitz11-Dec-22 7:09
mveGerry Schmitz11-Dec-22 7:09 
GeneralRe: Multi-threaded debugging Pin
Richard Andrew x6411-Dec-22 7:48
professionalRichard Andrew x6411-Dec-22 7:48 
GeneralRe: Multi-threaded debugging Pin
Gerry Schmitz11-Dec-22 14:50
mveGerry Schmitz11-Dec-22 14:50 
AnswerRe: Multi-threaded debugging Pin
Randor 11-Dec-22 8:46
professional Randor 11-Dec-22 8:46 
GeneralRe: Multi-threaded debugging Pin
Richard Andrew x6411-Dec-22 14:36
professionalRichard Andrew x6411-Dec-22 14:36 
PraiseRe: Multi-threaded debugging Pin
Randor 11-Dec-22 15:50
professional Randor 11-Dec-22 15:50 
QuestionRegarding a line in code Pin
vineeth s5-Dec-22 7:06
vineeth s5-Dec-22 7:06 
AnswerRe: Regarding a line in code Pin
Richard MacCutchan5-Dec-22 8:02
mveRichard MacCutchan5-Dec-22 8:02 
Because Student is the type of object being created, so the variable mystudent needs to be declared as the correct type. Similarly:
C#
int foo = 1;

declares the variable foo as an int object. Writing something like:
C#
int foo = new Student();

would make no sense, as an int type cannot hold a Student object.
AnswerRe: Regarding a line in code Pin
OriginalGriff5-Dec-22 8:22
mveOriginalGriff5-Dec-22 8:22 
AnswerRe: Regarding a line in code Pin
BillWoodruff6-Dec-22 0:51
professionalBillWoodruff6-Dec-22 0:51 
GeneralRe: Regarding a line in code Pin
Richard Deeming6-Dec-22 1:08
mveRichard Deeming6-Dec-22 1:08 
GeneralRe: Regarding a line in code Pin
BillWoodruff6-Dec-22 1:29
professionalBillWoodruff6-Dec-22 1:29 
GeneralRe: Regarding a line in code Pin
Richard MacCutchan6-Dec-22 1:34
mveRichard MacCutchan6-Dec-22 1:34 
GeneralRe: Regarding a line in code Pin
BillWoodruff6-Dec-22 1:43
professionalBillWoodruff6-Dec-22 1:43 
GeneralRe: Regarding a line in code Pin
Richard MacCutchan6-Dec-22 2:03
mveRichard MacCutchan6-Dec-22 2:03 
QuestionMessage Closed Pin
29-Nov-22 0:17
zystein29-Nov-22 0:17 
AnswerRe: A Problem about Collections Pin
Richard MacCutchan29-Nov-22 0:50
mveRichard MacCutchan29-Nov-22 0:50 
AnswerRe: A Problem about Collections Pin
OriginalGriff29-Nov-22 1:47
mveOriginalGriff29-Nov-22 1:47 

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.