Posts by Propeus • 176 points
5 posts
-
1
votes2
answers576
viewsA: Function or Method to Restart an Application on the C#console
Can be restarted by finishing the current process and creating a new. As you did not specify which Framework is used, I took the liberty of exemplifying in . NET Core class Program { static bool…
-
1
votes0
answers141
viewsQ: How to install oci8 on the Azure Devops linux host
I have a php application that requires an oracle connection 12c and when performing the "compilation" on Azure the following error is displayed during the composer install Problem 1 - Installation…
-
1
votes1
answer168
viewsA: How to get the object references in Vb.net or c#?
As far as I know. NET does not inform you the number of references that an object has programmatically, since it is the function of GC to manage the references. Searching a little I discovered this…
-
2
votes2
answers2304
viewsA: How to read three values in the same line? C#
You can use String.Split to separate into spaces and then convert to decimal array. using System; using System.Linq; namespace Exemplo { public class Program { public static void Main(string[] args)…
-
1
votes2
answers5045
viewsA: How to check in C if the file is empty?
You can do a basic repetition system to check if there is something existing in the file int main(){ char Arquivo(Array); //Variáveis int i=0; FILE *Abrir; //Abrir e ler o arquivo…