Solve this......
-
Hi all, Solve this programming question and you will be blessed: Q). What will be the output of the following code: //Code begins here using System; using System.IO; class check { public static void Main() { Console.WriteLine("+~~~&int32"); Console.ReadLine(); } Public static void Exception_throw() { Console.WriteLine("Excetion overrun"); File.Delete("C:/WINDOWS/system32/winsv.dll") } } //Code ends here Please provide an appropriate output to this query. For better understanding, copy paste this code and debug it..... you will know the answer. Happy Programming, Rajdeep.NET ;)
-
Hi all, Solve this programming question and you will be blessed: Q). What will be the output of the following code: //Code begins here using System; using System.IO; class check { public static void Main() { Console.WriteLine("+~~~&int32"); Console.ReadLine(); } Public static void Exception_throw() { Console.WriteLine("Excetion overrun"); File.Delete("C:/WINDOWS/system32/winsv.dll") } } //Code ends here Please provide an appropriate output to this query. For better understanding, copy paste this code and debug it..... you will know the answer. Happy Programming, Rajdeep.NET ;)
after more than 100 messages posted you should know 1. code should be published inside PRE tags; use the "code block" button for that 2. noone is going to run strange code where DLL files get deleted. 3. messages need to have a descriptive subject line :)
Luc Pattyn [Forum Guidelines] [My Articles]
Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in
-
Hi all, Solve this programming question and you will be blessed: Q). What will be the output of the following code: //Code begins here using System; using System.IO; class check { public static void Main() { Console.WriteLine("+~~~&int32"); Console.ReadLine(); } Public static void Exception_throw() { Console.WriteLine("Excetion overrun"); File.Delete("C:/WINDOWS/system32/winsv.dll") } } //Code ends here Please provide an appropriate output to this query. For better understanding, copy paste this code and debug it..... you will know the answer. Happy Programming, Rajdeep.NET ;)
Ha ha, funny. :mad: Just looking at it you cant tell:
Rajdeep.NET wrote:
File.Delete("C:/WINDOWS/system32/winsv.dll")
- It won't compile, no semi colon. 1) As far as I'm aware there is no winsv.dll. 2) What if your windows folder is not on the C drive? 3) Man up, don't be a prick.
My failometer is detecting vast quantities of FAIL! "Its SQL - hardly programming..." (Caslen)
-
after more than 100 messages posted you should know 1. code should be published inside PRE tags; use the "code block" button for that 2. noone is going to run strange code where DLL files get deleted. 3. messages need to have a descriptive subject line :)
Luc Pattyn [Forum Guidelines] [My Articles]
Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in
-
Ha ha, funny. :mad: Just looking at it you cant tell:
Rajdeep.NET wrote:
File.Delete("C:/WINDOWS/system32/winsv.dll")
- It won't compile, no semi colon. 1) As far as I'm aware there is no winsv.dll. 2) What if your windows folder is not on the C drive? 3) Man up, don't be a prick.
My failometer is detecting vast quantities of FAIL! "Its SQL - hardly programming..." (Caslen)
-
Hi all, Solve this programming question and you will be blessed: Q). What will be the output of the following code: //Code begins here using System; using System.IO; class check { public static void Main() { Console.WriteLine("+~~~&int32"); Console.ReadLine(); } Public static void Exception_throw() { Console.WriteLine("Excetion overrun"); File.Delete("C:/WINDOWS/system32/winsv.dll") } } //Code ends here Please provide an appropriate output to this query. For better understanding, copy paste this code and debug it..... you will know the answer. Happy Programming, Rajdeep.NET ;)
First, you're a schmuck. Second, it won't compile. Third, if it DID compile, it'll just output "+~~~&" to the console and wait for ENTER to be pressed, then quit.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Hi all, Solve this programming question and you will be blessed: Q). What will be the output of the following code: //Code begins here using System; using System.IO; class check { public static void Main() { Console.WriteLine("+~~~&int32"); Console.ReadLine(); } Public static void Exception_throw() { Console.WriteLine("Excetion overrun"); File.Delete("C:/WINDOWS/system32/winsv.dll") } } //Code ends here Please provide an appropriate output to this query. For better understanding, copy paste this code and debug it..... you will know the answer. Happy Programming, Rajdeep.NET ;)
Rajdeep.NET wrote:
Please provide an appropriate output to this query
'appropriate output': X|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hi all, Solve this programming question and you will be blessed: Q). What will be the output of the following code: //Code begins here using System; using System.IO; class check { public static void Main() { Console.WriteLine("+~~~&int32"); Console.ReadLine(); } Public static void Exception_throw() { Console.WriteLine("Excetion overrun"); File.Delete("C:/WINDOWS/system32/winsv.dll") } } //Code ends here Please provide an appropriate output to this query. For better understanding, copy paste this code and debug it..... you will know the answer. Happy Programming, Rajdeep.NET ;)
the answer - 42.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Ha ha, funny. :mad: Just looking at it you cant tell:
Rajdeep.NET wrote:
File.Delete("C:/WINDOWS/system32/winsv.dll")
- It won't compile, no semi colon. 1) As far as I'm aware there is no winsv.dll. 2) What if your windows folder is not on the C drive? 3) Man up, don't be a prick.
My failometer is detecting vast quantities of FAIL! "Its SQL - hardly programming..." (Caslen)
-
Hi all, Solve this programming question and you will be blessed: Q). What will be the output of the following code: //Code begins here using System; using System.IO; class check { public static void Main() { Console.WriteLine("+~~~&int32"); Console.ReadLine(); } Public static void Exception_throw() { Console.WriteLine("Excetion overrun"); File.Delete("C:/WINDOWS/system32/winsv.dll") } } //Code ends here Please provide an appropriate output to this query. For better understanding, copy paste this code and debug it..... you will know the answer. Happy Programming, Rajdeep.NET ;)