All These Things That I've Done

Apply the programming model to everyday programming problems
posts - 83, comments - 71, trackbacks - 4

My Links

News


View Gianluca Carucci's profile on LinkedIn

Tag Cloud

Archives

Post Categories

Image Galleries

Blogs

Links

April 2005 Blog Posts

Convertire un array di byte in stringa esadecimale

Visto che ne ho avuto bisogno, pubblico un piccolo snippet per risolvere il problema:private static string ConvertToHex(string msg) {   if (msg == null || msg == string.Empty)   {   return string.Empty;   }    System.Text.StringBuilder sb = new StringBuilder();    byte[] bmsgs = ASCIIEncoding.ASCII.GetBytes(msg);    foreach (byte inByte in bmsgs)   {     sb.Append(String.Format("{0:X2} ",inByte).Trim());   }   return sb.ToString(); }

posted @ Friday, April 29, 2005 1:48 PM | Feedback (0) | Filed Under [ C# ]

AOP NET la parola a Don Box....

Riprendo il post di Lorenzo riguardo l'AOP e Net fornendo uno stralcio dell'intervista a Don Box (per la quanle nn finirò mai di ringraziare il nostro caro presidente :) che esprime il suo parere proprio sull'AOP e sulle tecniche di interception. Personally, I think there are a lot of interesting programming paradigms out there, and I think that the industry has beaten the "attributes+interception" style of AOP to death.  Personally, I've been much more inspired by the ideas that sprang from functional programming and think that Whidbey brings several of those ideas to the masses. Specifically, C#'s anonymous methods (closures) and iterators are...

posted @ Friday, April 15, 2005 11:29 AM | Feedback (2) | Filed Under [ C# OOP ]

Powered by:
Powered By Subtext Powered By ASP.NET