Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 5:40
chipp_zanuff21-Jan-21 5:40 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Richard MacCutchan21-Jan-21 5:53
mveRichard MacCutchan21-Jan-21 5:53 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 6:03
chipp_zanuff21-Jan-21 6:03 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Richard MacCutchan21-Jan-21 6:36
mveRichard MacCutchan21-Jan-21 6:36 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff22-Jan-21 4:41
chipp_zanuff22-Jan-21 4:41 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Richard MacCutchan22-Jan-21 5:42
mveRichard MacCutchan22-Jan-21 5:42 
AnswerRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Gerry Schmitz21-Jan-21 3:44
mveGerry Schmitz21-Jan-21 3:44 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 5:50
chipp_zanuff21-Jan-21 5:50 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Gerry Schmitz21-Jan-21 8:48
mveGerry Schmitz21-Jan-21 8:48 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff22-Jan-21 4:43
chipp_zanuff22-Jan-21 4:43 
QuestionWriting ActiveX for MS Access (VS 2019) Pin
mac2782819-Jan-21 11:44
professionalmac2782819-Jan-21 11:44 
AnswerRe: Writing ActiveX for MS Access (VS 2019) Pin
Christian Graus19-Jan-21 14:55
protectorChristian Graus19-Jan-21 14:55 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Richard Deeming19-Jan-21 21:36
mveRichard Deeming19-Jan-21 21:36 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Pete O'Hanlon19-Jan-21 22:43
mvePete O'Hanlon19-Jan-21 22:43 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782820-Jan-21 3:37
professionalmac2782820-Jan-21 3:37 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782820-Jan-21 3:43
professionalmac2782820-Jan-21 3:43 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Victor Nijegorodov20-Jan-21 7:11
Victor Nijegorodov20-Jan-21 7:11 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Christian Graus20-Jan-21 10:18
protectorChristian Graus20-Jan-21 10:18 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782821-Jan-21 4:00
professionalmac2782821-Jan-21 4:00 
AnswerRe: Writing ActiveX for MS Access (VS 2019) Pin
Gerry Schmitz20-Jan-21 3:25
mveGerry Schmitz20-Jan-21 3:25 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782820-Jan-21 3:32
professionalmac2782820-Jan-21 3:32 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Gerry Schmitz21-Jan-21 3:36
mveGerry Schmitz21-Jan-21 3:36 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782821-Jan-21 4:02
professionalmac2782821-Jan-21 4:02 
QuestionC# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
Upin L18-Jan-21 19:02
Upin L18-Jan-21 19:02 
Hello Everyone!
I am C#/ASP.NET new learning
And my english is very bad (I am Taiwanese)

My Boss give me a .NET test
the problem is like say : Use swtich(expr) expression can action on byte?, long?, String?
My answer is
byte => OK, long => unknow, String => OK

But my boss give me answer is
switch(expr) expression need is integer type / integer expression
Os long and string is not use on switch

After I fund answer in internet like
Switch Statement in C# - GeeksforGeeks

The first paragraph: The switch expression is of integer type such as int, char, byte, or short, or of an enumeration type, or of string type

Can someone talk me true answer?!
I vary appreciate, thank your

*I can not ask on Chinese Webpage beacuse i afraid my boss see this
AnswerRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
OriginalGriff18-Jan-21 20:09
mveOriginalGriff18-Jan-21 20:09 

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.