Click here to Skip to main content
16,020,714 members
Home / Discussions / C#
   

C#

 
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 
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 14:27
Upin L24-Jan-21 14: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 9:54
protectorChristian Graus19-Jan-21 9: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 14:40
Upin L24-Jan-21 14: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 14:50
protectorChristian Graus24-Jan-21 14: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 19:30
Upin L25-Jan-21 19: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 10:40
20212a19-Jan-21 10: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 14:51
Upin L24-Jan-21 14: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 1:13
20212a25-Jan-21 1:13 
QuestionSystem.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 1:40
Member 1483694318-Jan-21 1:40 
AnswerRe: System.Windows.Forms.DataVisualization.Charting Pin
Gerry Schmitz18-Jan-21 2:35
mveGerry Schmitz18-Jan-21 2:35 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 5:09
Member 1483694318-Jan-21 5:09 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Gerry Schmitz18-Jan-21 5:33
mveGerry Schmitz18-Jan-21 5:33 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 6:27
Member 1483694318-Jan-21 6:27 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Gerry Schmitz18-Jan-21 15:57
mveGerry Schmitz18-Jan-21 15:57 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 18:15
Member 1483694318-Jan-21 18:15 
GeneralRe: System.Windows.Forms.DataVisualization.Charting Pin
Member 1483694318-Jan-21 19:32
Member 1483694318-Jan-21 19: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.