Na moim blogu znajdziesz informacje na różne tematy, między innymi nowości techniczne, różnego rodzaju porównania i opinie na temat różnych lokali.
OFFICE 2011
Pobierz link
Facebook
Twitter
Pinterest
E-mail
Inne aplikacje
Światło dzienne ujrzał też M$ Office 2011 for MAC. Aktualnie jest w wersji rozwojowej, a dokładnie BETA3.V14.0.0.BUILD.100519.
Poniżej zamieszczam parę zdjęć.
Hi I was wondering for some time about encapsulation in C#. Are internal class accessible only from the same assembly? Are private fields accessible only from inside class? Quoting the Microsoft website: "Private access is the least permissive access level. Private members are accessible only within the body of the class or the struct in which they are declared...." "Internal types or members are accessible only within files in the same assembly..." It looks like true. I believed it, but I decided to check it out. There is a possibility to read and modify private fields and create instances of internal classes when reflection is used. Reflection is the built-in mechanizm allowing to dynamically create instance of class or invoke methods. Unfortunately it allows access to private fields and much more... I wrote a simple example showing how powerful is reflection. Code is uploaded to github. GITHUB - PrivateFieldsInternalClass My soluti
Cześć, Może nie każdy wie czym jest utwardzony tłuszcz roślinny. Otóż jest to wysoce przetworzony i niezdrowy tłuszcz, który powstaje z płynnych tłuszczy roślinnych. Na pierwszy rzut oka nie brzmi to źle... Okazuje się jednak, że podczas produkcji takich tłuszczy powstają bardzo niezdrowe tłuszcze trans. Są to bardzo zbite cząsteczki tłuszczu, które przyklejają się do ścianek naszych żył. Niby taka zmiana niewinna zmiana z płynnego tłuszczu do postaci stałej. Powodować one mogą miażdżyce, raka piersi, raka gruczołu krokowego, cukrzycę, niepłodność u kobiet, otyłość oraz problemy z wątrobą. Znajdują się one w większości margaryn, produktach fast food, frytkach, batonach, ciastek a nawet lodach. Poniżej przedstawiam listę produktów, zawierających tą bardzo niezdrową odmianę tłuszczu, będzie ona aktualizowana: Aktualizacja listy na dzień grudzien 2017 Aksam -Orzeszki Beskidzkie Aksam - częściowo utwardzony olej palmowy Alpen Gold -Mleczna czekolada karmelowa Alpen
Hi Today I present you part 2 of "Is c# safe" series. Few days ago I though about whether possibility to set value to readonly field outside the constructor. Quoting the Microsoft website: "The readonly keyword is a modifier that you can use on fields. When a field declaration includes a readonly modifier, assignments to the fields introduced by the declaration can only occur as part of the declaration or in a constructor in the same class. Example In this example, the value of the field year cannot be changed in the method ChangeYear, even though it is assigned a value in the class constructor..." As last time, I wrote unit tests to see if it is possible. commit to my github Unfortunately Microsoft... Using reflection above sentence isn't true. I added new class named " InternalCallReadonlyVsConst " and it looks like below namespace InternalClasses { class InternalCallReadonlyVsConst { private readonly int privateR
Komentarze
Prześlij komentarz