All Questions

1
answer

Show GIF while page loads

I need a GIF to work while the page loads. I already tried a few ways but none worked. And when the page load appears Done! . More or less as happens on this site .     
asked on 08.03.2014 / 18:57
2
answers

What are nested types?

I know that C # supports nested types, that is, it is possible for me to declare one class within another. For example: public class A { // Propriedades e métodos da classe A public class B { // Propriedades e métodos da...
asked on 22.02.2015 / 20:58
2
answers

What is the difference between ListView and RecyclerView?

What is the difference between ListView and RecyclerView on Android? From what APi RecyclerView is available? Is it valid to use RecyclerView and not ListView ?     
asked on 19.10.2016 / 20:56
3
answers

Condition Yoda, good reason exists to use?

Question mainly in PHP, in the weirdPress documentation there is a which explicitly says that it is interesting to use the famous Yoda conditions, although it does not give a good reason.    When making logical comparisons involving variabl...
asked on 03.03.2017 / 06:10
2
answers

What is a ViewModel in ASP.NET MVC?

I'm used to the MVC approach to frameworks like CakePHP and Laravel. Now that I'm delving into ASP.NET MVC, I'd like to understand what this ViewModel is for. What is the purpose of ViewModels?     
asked on 07.06.2018 / 18:31
3
answers

What is the advantage of using the Set method?

What is the advantage or difference in using the Set<> method, and can I do the same without it as in alternative 2? Alternative 1 var aluno = contexto.Alunos.First(x => x.Id == entidade.Id); contexto.Set<**Aluno**>()....
asked on 22.09.2015 / 00:39
2
answers

What is ES6 specification?

Recently I started a project with Cordova + Ionic , and at some point I got into an impasse where I found the statement that framework follows the "latest" web standards, such as the new ES6 specification (or ES2015). What would be ES6 (or...
asked on 31.01.2017 / 13:41
4
answers

How do graphic libraries work?

How do graphic libraries work? For example, the default mode of execution of C is the console application, since from this text-only, can it create the graphic libraries where it understands pixel instead of letters and characters? how do the...
asked on 07.08.2015 / 15:04
2
answers

What does the "|=" operator in Python mean?

I was analyzing a code and I came across the |= operator, I would like to know what that means, and what is its practical application. Example: x |= y     
asked on 18.09.2017 / 13:48
2
answers

How to list methods of a class in C #?

Once again I have to say this: I come from PHP and I'm learning C # now. I usually like to list the methods the class has, since I always did this in PHP, to test or debug. $a = new ArrayObject(); get_class_methods($a); What about C #?...
asked on 17.05.2016 / 22:21