ikstsearchhsearchEfc 2006 isearche Volume ssearche Study rhSuy Effectivestudyformula ssearchEfsearche Effective tisearchea Formula sa Formula ch Formula A Study d Focus

Get Property using Reflection C# +Java

0 comments
התבקשתי לכתוב ב java class מאוד גדול (שלא ניתן לחלק אותו)ולהפוך אותו ל xml, סיקרן אותי מאוד כיצד כותבים את אותו class גם ב c#:
יש לציין שניתן להפוך Class ל XML גם בצורה אחרת דרך XmlSerializer.
להלן הקוד ב C#:
//Class into XML
//Get the Properties of the Class and
//Create xml element
XElement xml_line = new XElement("je");
Type type = MyClass.GetType(); //Get the Type of your Class
PropertyInfo[] properties = type.GetProperties(); //Get the PropertyOnly
foreach (PropertyInfo property in properties)
{}
להלן הקוד ב java:

try 
{}
}
catch (Throwable e) 
{}

Read more: Uzi Drori's Blog
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post

כיווץ מחיצות

0 comments
שלום לכולם ,
כאן ליעד מצוות התמיכה של Microsoft.
היום נלמד כיצד להקטין את גודלן של המחיצות בדיסק הקשיח במערכת ההפעלה Windows 7  .
ממשק ניהול המחיצות (מנהל הדיסקים) של Windows 7  מספק ממשק נוח וקל לשימוש דרכו ניתן להקליד , להקטין , לערוך ולמחוק מחיצות בדיסק הקשיח שלנו .
כיום , ניתן להקטין מחיצה עד לחצי מגודלה המקורי – כלומר במידה וכונן C קיים במערכת ההפעלה ככונן יחיד וגודלו הוא 300GB נוכל להקטינו על למחצית מגודלו – 150GB .
את החלק ה"עודף" שנוצר נוכל להגדיר ככונן נוסף ולמעשה ליצור 2 כוננים שונים בגודל כולל של 300GB
חשוב לזכור כי על מנת להקטין את הכונן עלינו למחוק מידע בנפח אותו אנחנו מעוניינים להקטין מהכונן – כמות המידע הפנוי יוצג לפנינו באשף עצמו אך עדיף להכין את הכונן לפני תחילת התהליך 
מתחילים!
1. לחצו על התחל > מקש ימין על המילה מחשב > בחרו בניהול



Read more: MS Support Blog
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post

Rapid Dev – a new unit testing tool is born

0 comments
It’s no secret that the .NET community has a lot to learn as far as unit testing is concerned. One of the contributing factors to unit testing adaptation is tool support – it’s not secret that if developers can crate and run tests easily form the comfort of their development environment (i.e. Visual Studio). But why settle for the bare minimum? wouldn’t you like your tests to run “automatically” each time you change your code?
This is why Rapid-Dev has been created – it’s a Visual Studio Add-in that monitors your solution and makes sure that each time you change part of your code the relevant unit tests are executed to make sure that you haven’t broken anything.
The tool is has reached a stage were we wanted to share it in order to get feedback and suggestions from actual users.

Read more: Helper Code
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS