Posts

c# - What is the best way to make shared libraries available to multiple applications? -

Like most shops, we get a team of people working on various projects, all of whom have the same basic information and Access to the works that are related to our business, usually in C # We are currently copying normal sections from project to project, but everyone is starting to taste their own and we want to strengthen it. We use Turtle SVN and we are not sure about a separate project, but it is the best way to deploy this common code for our various applications. We work for an internal IT store that can tell users all about access to applications, we are not concerned about releasing our products in the real world. We have some ideas: Compile sections in a DLL and place it in a center Collect the classes in a single DLL and include it in each project Start the project Time just the most recent room Do not bring a central shared library (our interpretation of this :) External SVN I know that this is a common problem, and if you Or spend time using any other option...

c# - How to add quotes around each list element after .add? -

मेरे पास एक सूची है निजी सूची & lt; string & gt; AdditionalHeaderMeta = नई सूची & lt; स्ट्रिंग & gt; (); और मैं उसे सीएसवी फ़ाइल में आउटपुट करना चाहता हूं। जो सभी काम कर रहे हैं, लेकिन यह कुछ तत्वों को जोड़ता है जो अतिरिक्त मैं हेडरमेटा में जोड़ रहा है, उनमें कभी भी अल्पविराम हो सकता है जो स्पष्ट रूप से एक सीएसवी फ़ाइल को खराब करता है मैंने कोशिश की additionalHeaderMeta.Select (i = & gt; "\" "+ i +" \ ""); लेकिन कोई भाग्य नहीं है। यदि आप संशोधित करना चाहते हैं सूची में जगह, बस उस पर लूप। के लिए (इंट इंडेक्स = 0; इंडेक्स लेफ्टिनेंट; सूची.काउंट; इंडेक्स ++) सूची [अनुक्रमणिका] = / * आइटम को संशोधित करें * / आपने जो किया है, वह एक क्वेरी परिभाषा बनती है जो कि लाज़िली मूल्यांकन की जाएगी, लेकिन वास्तव में आपको क्वेरी पर पुनरावृति करने की आवश्यकता होगी। यदि आप वास्तव में सूची को असम्बद्धकृत छोड़ना चाहते हैं तो क्वेरी का उपयोग करें, लेकिन बस डेटा को संशोधित रूप में प्रोजेक्ट करना चाहते हैं। var query = additional...

Android Run Java everytime page accessed -

I currently have a home screen of my app where it displays a number, all this show is how many questions Answers have been given. Another button takes you to answer the questions and it updates the value of the database. I've found that the home page number updates for the first time only when the app is opened. This price does not update if you go back to a page. What should I do to ensure that it is run every time? I believe that the main method of the onResume The bar will be displayed again.

php - MySQL count rows where a=b and b=a -

This is the first time I have asked a question. This is the first time that I can not find what I am seeing and I think I am being mad because it should be simple! Assume that you have a MySQL table, 'T' with two columns 'A', 'B'. AB --- 1 2 2 1 1 3 3 1 2 4 I like to count a variable given interrelationship. Therefore if I should X = 1 return it 2 Because 1, 2 and 2, 1 is present, and 1, 3 and 3, 1 exists, however, supply x = 2 It should be returned 1 because 1, 2 and 2, 1 exists but no other rows, where 2 = n AND N = 2 I hope this is clear! And sorry if it is easy, I think the brain is getting freeze .. Cheers! This will work (but if you have a line with (n, n) then also Will be counted as a mutual relationship): select count (*) Join TT1 t1.B = T2.A on T2 where t1.A =? And t2.b =? (assign values ​​to both standards)

Difference between C# and VB.Net custom classes -

I have been out of VB.Net for a long time, I have a custom class in C #, which is converted to VB Would like to know the main difference between the net and the two Some things in C # can not seem to accompany classes as used in Vb.Net: Public domain name or public [classname] (Datatable DT) in VB.net My class looks like the following Is: Public Sector Subcontractor {Public Ink Organization_Id {Received; Set; } Public difference subcontractor_id {find; Set; } Public int project_id {get; Set; } Public List & amp; Evaluation; Evaluation point & gt; Number {get; Set; } Public Subcontractor () {} Public Sub-Data (Datatelle DT) {organization_id = Convert.ToInt32 (dt.Rows [0] ["organization_id"]. ToString ()); Subcontractor_id = convert toint32 (dt.rows [0] ["subcommand_id"] .toastring ()); Project_id = Convert. ToInt32 (dt.rows [0] ["project_id"]. ToString ()); Number = new list & lt; Evaluate & gt; (); Foreign Currency (Detrore DR in D...

Develop for android with Visual studio -

I just got an Android phone and now I want to create an app in Visual Studio for this. Is this possible? I have got a subject about this but since 2010, this topic can be that now it is possible? Native Android applications Java and related text files Visual Studio is definitely capable of editing them, And with some setup work, launch the appropriate build tool or an ant script. But this is probably not particularly favorable for such a work. As others have mentioned, some alternative development languages ​​/ paths may be a more natural fit for visual studios, but less natural fit (less native and / or less supported) running on Android devices - Though the results may be sufficient for a given purpose.

math - Which branch applies more to programming: Calculus or Linear Algebra -

I am a computer science and I need to fill my math electives. What would be more applicable to programming and computer science? Hell, which would be more useful? Primary calculations or linear algebra? There are two second level classes (level two) and I can only choose one. If this one coin rises in the toss, then I will go to that which fits better in my program ... but in reality, I want to know which is the best ... Thank you! I have worked in advanced linear algebra for more than a decade, so you can think that I In line with the recommendation of linear algebra, I recommend the calculus: The reason is simple: If someone has not learned linear algebra, then I can read them basically very quickly, assuming that they already know from stone. If they have not mastered mathematics, then they are job Will not be competitive and they do not know enough to start many different customization procedures, which can be applied to a variety of tasks, not just those that ari...