Wednesday, January 13, 2016

entrevue C#



L'entrevue de C# interroge et des réponses :



1. C# soutient-il l'héritage multiple ? 
Numéro.

2. À qui est-elle une variable protégée de classe-niveau disponible ? 
Il est disponible à n'importe quelle sous-classe (une classe héritant de cette classe).

3. Est-ce que variables privées de classe-niveau sont héritées ? 

Oui, mais eux ne soyez pas accessible. Bien qu'ils ne soient pas évidents ou accessibles par l'intermédiaire de l'interface de classe, ils sont hérités. 

4. Décrivez le modificateur "interne protégé " d'accessibilité. 
Il est disponible aux classes qui sont dans la même assemblée et sont dérivées de la classe basse spécifique. 

5. Quelle est la classe du dessus .NET dont tout est dérivé ? 
System.Object. 

6. Que fait le moyen immuable de limite ?
La valeur de données ne peut être changée. Note : La valeur variable peut être changée, mais la valeur de données immuable originale a été jetée et une nouvelle valeur de données a été créée dans la mémoire. 

7. Quelle est la différence entre les classes de System.String et de System.Text.StringBuilder ?
System.String est immuable. System.StringBuilder a été conçu en vue de avoir une corde mutable où une série d'opérations peuvent être effectuées. 

Wednesday, December 16, 2015

Symboles et signes de ponctuation

Ici un quick cheatsheet pour les signes de ponctuation, surtout pour le clavier fr. :-)
.un pointperiod, full stop, dot
,une virgulecomma
:les deux points, un deux-pointscolon
;un point-virgulesemi colon
'une apostropheapostrophe
!un point d'exclamationexclamation point
?un point d'interrogationquestion mark
...les points de suspensionellipsis
-un trait d'uniondash, hypen
—un tiretm-dash
_un underscore, un souligné, un tiret basunderscore
°un symbole du degrédegree sign
«  »guillemets (m)quotation marks, inverted commas " "
(  )parenthèses (f)parentheses
[  ]crochets (droits) (m)(square) brackets
{  }accolades (f)curly brackets, braces
<  >crochets fléchés (m), crochets pointus (m)angle brackets
En or entre guillemets, parenthèses, etc. = In quotes, parentheses, etc.
Ouvrir, fermer les guillemets, les parenthèses, etc. = Begin/open, end/close quotes, parentheses, etc.
&une esperluette, un et commercial, un et anglaisampersand
*un astérisqueasterisk
#un dièse (Fr), un carré (Can)pound sign, number sign
 The correct French term is actually croisillon (learn more), but the French erroneously saydièse.
$un signe du dollar, un dollardollar sign
£un symbole livrepound sign
%un signe de pour-cent, un pour-centpercent sign
+le signe plusplus sign
-le moinsminus sign
=un signe égalequal sign
<un signe inférieurless-than sign
>un signe supérieurgreater-than sign
|une barre verticale, un tubepipe
/une barre oblique, un trait oblique, un slashforward slash
\une barre oblique inverse, un anti slashbackslash
@une arobase, une arrobase, un a commercialat sign

Monday, November 9, 2015

Coding with javascript and examples


Here are some javascript samples


Click "Load samples" to view and edit more JS samples.

Labyrinth generated with JavaScript:



and a page to test your thing  : http://js.do/


Friday, October 23, 2015

Bill the Lizard



Bill the Lizard

Here is a good example of a coding interview questions with solutions.

BillCruise CodingInterview





Tuesday, October 6, 2015

reverse engineering tools for .net

Here is  a list of tools to decompile dll and other.

1. dotPeek

What's Cool about dotPeek?
  1. Decompiling .NET 1.0-4.5 assemblies to C#
  2. Support for .dll, .exe, .zip, .vsix, .nupkg, and .winmd files
  3. Quick jump to a type, assembly, symbol, or type member
  4. Effortless navigation to symbol declarations,
  5. implementations, derived and base symbols, and more
  6. Accurate search for symbol usages
  7. with advanced presentation of search results
  8. Overview of inheritance chains
  9. Support for downloading code from source servers
  10. Syntax highlighting
  11. Complete keyboard support
  12. dotPeek is free!
(taken from ref_10)



ref_10: http://reverseengineering.stackexchange.com/questions/235/how-to-decompile-dll-files

Thursday, August 27, 2015

javascript blogger

Here a javascript blogger.


Amjad Masad

http://amasad.me/2014/03/09/lesser-known-javascript-debugging-techniques/



Friday, July 17, 2015

Using Shelvesets to Set Aside Pending Changes (Team Explorer Everywhere)

By creating a shelveset, you can set aside a batch of pending changes from a workspace temporarily. You can later restore those changes into your workspace or into the workspace of another user, or you can delete the changes.


Scenarios in Which to Consider Shelving.


You shelve your pending changes when you are not ready to or cannot check in a set of pending changes, as in the following scenarios:
  • Interruption - You can shelve your pending changes to set them aside if you are not ready to check them in but you must work on a different task.
  • Integration - You can shelve your pending changes and ask your team member to unshelve them if you are not ready to check in but you must share changes with another team member.
  • Review – You can shelve changes that must undergo a code review before you check them in. After you create the shelveset, you inform the code reviewer, who can then unshelve and review your changes.
  • Backup – You can shelve changes that you want to back up before you are ready to check them in. By creating a shelveset, you copy the changes to the version-control server.
  • Handoff – You can shelve changes that are in progress before you hand them off to another member of the team for completion.
taked from : Microsoft (MSDN)