Posted By: The Channel 9 Team | Apr 5th, 2005 @ 10:18 PM | 82,490 Views | 31 Comments
Anders Hejlsberg is going to TechED in Orlando, FL on June 5-10, so we got Charles Torre to go over and talk with Anders about all the latest stuff happening in C# as a preview of what he'll talk about at TechED.

Generics. Iterators. Partial classes.
What's that generic mug again?

Don't know who Anders is? Go read about him on Wikipedia. He led the teams that developed Borland's Turbo Pascal and Delphi and now C# at Microsoft.
Tag: CSharp
Media Downloads:
Rating:
0
0
Custom error pages are simple to create in Visual Studio 7.0 as well. I handle all my asp.net errors in the Global.asax file.
<BR>protected void Application_Error(Object sender, EventArgs e)<BR>{<BR>Exception x = new Exception();<BR>Server.Transfer("Error.aspx?ErrNum="+x.Message+"&ErrMessage="+x.Message);<BR>}<BR>

The I pass it on the error.aspx page, which reads the request url.
<BR>private void Page_Load(object sender, System.EventArgs e)<BR>  {<BR>   if(Page.IsPostBack)<BR>   {<BR>    setError("No error to display");<BR>    setErrorNumber("No error number");<BR>   }<BR>   else<BR>   {<BR>    string errorMessage = Request.QueryString["ErrMessage"];<BR>    string errorCode = Request.QueryString["ErrNum"];<BR>    setError(errorMessage);<BR>    setErrorNumber(errorCode);<BR>   }<BR>  }<BR>  public void setError(string error)<BR>  {<BR>   if(error == "Exception of type System.Exception was thrown.")<BR>   {<BR>    lblError.Text = "The page, file, download, image, software program, <BR>or user you are looking for does not exists, give it another try!";<BR>   }<BR>   else<BR>   {<BR>    lblError.Text = error;<BR>   }<BR>  }<BR>  public void setErrorNumber(string number)<BR>  {<BR>   if(number == "Exception of type System.Exception was thrown.")<BR>   {<BR>    lblErrorCode.Text = "00 - Server Error";<BR>   }<BR>   else<BR>   {<BR>    lblErrorCode.Text = number;<BR>   }<BR>  }<BR>
staceyw
staceyw
Before C# there was darkness...
Great.  Always good to hear Anders.  Looking forward to the c# Data concepts.  Will that be talked about at TechEd?
MikeS
MikeS
MikeS
It's always great to listen to Anders, but when are we going to be able to SEE HIM!!! Isn't it about time we had Anders# instead of Background#? Not only is he blurry and you can read his book titles fine, but in a lot of the shots by the whiteboard - sorry grayboard - Anders is actually BLACK! Smiley

When are you guys going to learn how to use your video camera? Come on! Go get "Video Cameras for Dummies" and figure out how to press a couple of buttons to lock the exposure and focus.

It's really not that hard! Smiley
scobleizer
scobleizer
I'm the video guy
Actually, it is hard. Especially when you're a developer trying to keep up with Anders' big brain.

We'll try to do better, though. Charles shot that himself without any help.
That was an awesome video of Anders.
Keep it up Ch9...great work.
staceyw wrote:
Great.  Always good to hear Anders.  Looking forward to the c# Data concepts.  Will that be talked about at TechEd?

TechEd uses to be more about the present then the future. PDC is more about the future, so my guess is that some plans for C# v3 will be discussed at PDC'05.
Charles
Charles
Welcome Change
MikeS wrote:
It's always great to listen to Anders, but when are we going to be able to SEE HIM!!! Isn't it about time we had Anders# instead of Background#? Not only is he blurry and you can read his book titles fine, but in a lot of the shots by the whiteboard - sorry grayboard - Anders is actually BLACK! Smiley

When are you guys going to learn how to use your video camera? Come on! Go get "Video Cameras for Dummies" and figure out how to press a couple of buttons to lock the exposure and focus.

It's really not that hard! Smiley


Is is really that bad? Seems relatively fine to me. Anyway, I'm not a camera guy, sorry.


C

Strange, for me the worst thing about the birthday videos is that for some reason they are very very blocky. Has something changed with the encoding or something else that could affect the image quality? WMP says the bitrate is 291 K bits/second. How about having some 1000+ Kbit/s version of the Bill Hill hike video?

Minh
Minh
WOOH! WOOH!
Wait a minute. Why would Anders Hejlsberg have C# books on his shelves? Wah?
Microsoft Communities