What will the output of: Regex.Replace("01/02/03","([0-9]+)/([0-9]+)/([0-9]+)","$2/$1/$3");
Exception
02/01/03
03/02/01
01/02/03
Which regular expression matches email address [email protected]?
\w+@\w+.[\w]{3}
^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+-+)|([A-Za-z0-9]+.+)|([A-Za-z0-9]+++))[A-Za-z0-9]+@((\w+-+)|(\w+.))\w{1,63}.[a-zA-Z]{2,6}
[\w.-][a-zA-Z0-9_]@[\w.-][a-zA-Z0-9].[a-zA-Z][a-zA-Z.]*[a-zA-Z]
All of above
Whch of the following is used as word boundary in Regular Expression?
^
B
b
$
Where we can host WCF service?
Windows service
WAS
None of above
Both 1 and 2
WSHttpBinding uses SOAP 1.1.
True
False
What is the new activity available in .Net 3.5 for windows workflow which is used to expose workflow as service.
Send Activity
Web Service Input Activity
Receive Activity
None of These
What are the various contracts available in WCF.
Service contract
Operation contract
Method contract
Data Member Contract
Message Contract
Fault Contract
WCF have binding to support MSMQ.
What is the output ? main() { int i=8; printf("%d%d%d%d", i, i++, ++i, i); }
881010
89910
891010
10998
What is the output of the following C program? main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }
5 7
4 7
5 1
4 1