西西河

主题:【求助】关在酒店里考试,急问三道C#和SQL题。多谢!! -- bourne

共:💬11 🌺2
全看分页树展 · 主题
家园 【求助】关在酒店里考试,急问三道C#和SQL题。多谢!!

1. Which of the following is valid entry points to a Console application?

Select zero or more answers:

(A) static void Main()

(B) static int Main(string args)

(C) static int Main()

(D) static void Main(string[] args)

(E) static int Main(string[] args)

2. What will be the output for the following code fragment?

int a = 10;

if (a = 20) {a = 15; Console.WriteLine(a);}

Select one answer:

(A) 15

(B) 20

(C) 10

(D) The compiler will generate an error

3. What value does the SQL Server statement return?

select count(*) from a, b

where tale 'a' has 10 records and table 'b' has 10 records

Select one answer:

(A) 10

(B) 20

(C) 100

(D) 1000

全看分页树展 · 主题


有趣有益,互惠互利;开阔视野,博采众长。
虚拟的网络,真实的人。天南地北客,相逢皆朋友

Copyright © cchere 西西河