Click here to Skip to main content
15,789,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Victor Nijegorodov20-Jan-21 8:11
Victor Nijegorodov20-Jan-21 8:11 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Christian Graus20-Jan-21 11:18
protectorChristian Graus20-Jan-21 11:18 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782821-Jan-21 5:00
professionalmac2782821-Jan-21 5:00 
AnswerRe: Writing ActiveX for MS Access (VS 2019) Pin
Gerry Schmitz20-Jan-21 4:25
mveGerry Schmitz20-Jan-21 4:25 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782820-Jan-21 4:32
professionalmac2782820-Jan-21 4:32 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
Gerry Schmitz21-Jan-21 4:36
mveGerry Schmitz21-Jan-21 4:36 
GeneralRe: Writing ActiveX for MS Access (VS 2019) Pin
mac2782821-Jan-21 5:02
professionalmac2782821-Jan-21 5: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 20:02
Upin L18-Jan-21 20: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 21:09
mvaOriginalGriff18-Jan-21 21:09 
GeneralRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
Upin L24-Jan-21 15:27
Upin L24-Jan-21 15:27 
AnswerRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
Christian Graus19-Jan-21 10:54
protectorChristian Graus19-Jan-21 10:54 
GeneralRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
Upin L24-Jan-21 15:40
Upin L24-Jan-21 15:40 
GeneralRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
Christian Graus24-Jan-21 15:50
protectorChristian Graus24-Jan-21 15:50 
GeneralRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
Upin L25-Jan-21 20:30
Upin L25-Jan-21 20:30 
AnswerRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
20212a19-Jan-21 11:40
20212a19-Jan-21 11:40 
GeneralRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
Upin L24-Jan-21 15:51
Upin L24-Jan-21 15:51 
GeneralRe: C# or ASP.NET swtich(expr) expression can action on byte, long, String?(Engilsh is not my native language) Pin
20212a25-Jan-21 2:13
20212a25-Jan-21 2:13 
QuestionSystem.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 2:40
Member 1483694318-Jan-21 2:40 
AnswerRe: System.Windows.Forms.DataVisualization.Charting Pin
Gerry Schmitz18-Jan-21 3:35
mveGerry Schmitz18-Jan-21 3:35 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 6:09
Member 1483694318-Jan-21 6:09 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Gerry Schmitz18-Jan-21 6:33
mveGerry Schmitz18-Jan-21 6:33 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 7:27
Member 1483694318-Jan-21 7:27 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Gerry Schmitz18-Jan-21 16:57
mveGerry Schmitz18-Jan-21 16:57 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 19:15
Member 1483694318-Jan-21 19:15 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 20:32
Member 1483694318-Jan-21 20:32 

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.